mirror of
https://github.com/servo/servo.git
synced 2025-07-03 13:33:39 +01:00
Correct pseudo element type of tree pseudos.
This commit is contained in:
parent
cd527733c5
commit
915890af77
2 changed files with 13 additions and 13 deletions
|
@ -895,18 +895,18 @@ impl PseudoElement {
|
||||||
PseudoElement::RubyBaseContainer => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::RubyBaseContainer => CSSPseudoElementType_InheritingAnonBox,
|
||||||
PseudoElement::RubyText => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::RubyText => CSSPseudoElementType_InheritingAnonBox,
|
||||||
PseudoElement::RubyTextContainer => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::RubyTextContainer => CSSPseudoElementType_InheritingAnonBox,
|
||||||
PseudoElement::MozTreeColumn(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeColumn(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeRow(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeRow(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeSeparator(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeSeparator(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeCell(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeCell(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeIndentation(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeIndentation(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeLine(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeLine(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeTwisty(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeTwisty(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeImage(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeImage(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeCellText(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeCellText(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeCheckbox(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeCheckbox(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeProgressmeter(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeProgressmeter(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozTreeDropFeedback(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozTreeDropFeedback(..) => CSSPseudoElementType::XULTree,
|
||||||
PseudoElement::MozSVGMarkerAnonChild => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozSVGMarkerAnonChild => CSSPseudoElementType_InheritingAnonBox,
|
||||||
PseudoElement::MozSVGOuterSVGAnonChild => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozSVGOuterSVGAnonChild => CSSPseudoElementType_InheritingAnonBox,
|
||||||
PseudoElement::MozSVGForeignContent => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::MozSVGForeignContent => CSSPseudoElementType_InheritingAnonBox,
|
||||||
|
|
|
@ -147,7 +147,7 @@ impl PseudoElement {
|
||||||
% if not pseudo.is_anon_box():
|
% if not pseudo.is_anon_box():
|
||||||
PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType::${pseudo.original_ident},
|
PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType::${pseudo.original_ident},
|
||||||
% elif pseudo.is_tree_pseudo_element():
|
% elif pseudo.is_tree_pseudo_element():
|
||||||
PseudoElement::${pseudo.capitalized()}(..) => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::${pseudo.capitalized()}(..) => CSSPseudoElementType::XULTree,
|
||||||
% elif pseudo.is_inheriting_anon_box():
|
% elif pseudo.is_inheriting_anon_box():
|
||||||
PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType_InheritingAnonBox,
|
PseudoElement::${pseudo.capitalized()} => CSSPseudoElementType_InheritingAnonBox,
|
||||||
% else:
|
% else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue