From 915890af77a7d81573c325eb29fe20760e664fd8 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Fri, 20 Oct 2017 14:08:38 +1100 Subject: [PATCH] Correct pseudo element type of tree pseudos. --- .../generated/pseudo_element_definition.rs | 24 +++++++++---------- .../gecko/pseudo_element_definition.mako.rs | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/components/style/gecko/generated/pseudo_element_definition.rs b/components/style/gecko/generated/pseudo_element_definition.rs index 3071e140b2c..361556d1fc8 100644 --- a/components/style/gecko/generated/pseudo_element_definition.rs +++ b/components/style/gecko/generated/pseudo_element_definition.rs @@ -895,18 +895,18 @@ impl PseudoElement { PseudoElement::RubyBaseContainer => CSSPseudoElementType_InheritingAnonBox, PseudoElement::RubyText => CSSPseudoElementType_InheritingAnonBox, PseudoElement::RubyTextContainer => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeColumn(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeRow(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeSeparator(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeCell(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeIndentation(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeLine(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeTwisty(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeImage(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeCellText(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeCheckbox(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeProgressmeter(..) => CSSPseudoElementType_InheritingAnonBox, - PseudoElement::MozTreeDropFeedback(..) => CSSPseudoElementType_InheritingAnonBox, + PseudoElement::MozTreeColumn(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeRow(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeSeparator(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeCell(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeIndentation(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeLine(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeTwisty(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeImage(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeCellText(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeCheckbox(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeProgressmeter(..) => CSSPseudoElementType::XULTree, + PseudoElement::MozTreeDropFeedback(..) => CSSPseudoElementType::XULTree, PseudoElement::MozSVGMarkerAnonChild => CSSPseudoElementType_InheritingAnonBox, PseudoElement::MozSVGOuterSVGAnonChild => CSSPseudoElementType_InheritingAnonBox, PseudoElement::MozSVGForeignContent => CSSPseudoElementType_InheritingAnonBox, diff --git a/components/style/gecko/pseudo_element_definition.mako.rs b/components/style/gecko/pseudo_element_definition.mako.rs index 3df77fa07f3..59d5e2dade0 100644 --- a/components/style/gecko/pseudo_element_definition.mako.rs +++ b/components/style/gecko/pseudo_element_definition.mako.rs @@ -147,7 +147,7 @@ impl PseudoElement { % if not pseudo.is_anon_box(): PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType::${pseudo.original_ident}, % elif pseudo.is_tree_pseudo_element(): - PseudoElement::${pseudo.capitalized()}(..) => CSSPseudoElementType_InheritingAnonBox, + PseudoElement::${pseudo.capitalized()}(..) => CSSPseudoElementType::XULTree, % elif pseudo.is_inheriting_anon_box(): PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType_InheritingAnonBox, % else: