diff options
author | Manish Goregaokar <manishearth@gmail.com> | 2017-08-09 18:39:47 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-08-09 22:00:11 -0700 |
commit | 6dac81c34c03503dc17866c10439fec461f028cc (patch) | |
tree | 31bc9da4265db453f176b0f6aed7af6cca6e05b5 /components/style/rule_tree | |
parent | 4d4cde293f14058af0078e0b1bd1de4abec11cd1 (diff) | |
download | servo-6dac81c34c03503dc17866c10439fec461f028cc.tar.gz servo-6dac81c34c03503dc17866c10439fec461f028cc.zip |
Include logical properties in has_author_specified_rules
Diffstat (limited to 'components/style/rule_tree')
-rw-r--r-- | components/style/rule_tree/mod.rs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs index bcfe1560457..ff511a2a583 100644 --- a/components/style/rule_tree/mod.rs +++ b/components/style/rule_tree/mod.rs @@ -1080,6 +1080,19 @@ impl StrongRuleNode { LonghandId::BorderTopRightRadius, LonghandId::BorderBottomRightRadius, LonghandId::BorderBottomLeftRadius, + + LonghandId::BorderInlineStartColor, + LonghandId::BorderInlineStartStyle, + LonghandId::BorderInlineStartWidth, + LonghandId::BorderInlineEndColor, + LonghandId::BorderInlineEndStyle, + LonghandId::BorderInlineEndWidth, + LonghandId::BorderBlockStartColor, + LonghandId::BorderBlockStartStyle, + LonghandId::BorderBlockStartWidth, + LonghandId::BorderBlockEndColor, + LonghandId::BorderBlockEndStyle, + LonghandId::BorderBlockEndWidth, ]; const PADDING_PROPS: &'static [LonghandId] = &[ @@ -1087,6 +1100,11 @@ impl StrongRuleNode { LonghandId::PaddingRight, LonghandId::PaddingBottom, LonghandId::PaddingLeft, + + LonghandId::PaddingInlineStart, + LonghandId::PaddingInlineEnd, + LonghandId::PaddingBlockStart, + LonghandId::PaddingBlockEnd, ]; // Inherited properties: @@ -1131,6 +1149,10 @@ impl StrongRuleNode { LonghandId::BorderRightColor, LonghandId::BorderBottomColor, LonghandId::BorderLeftColor, + LonghandId::BorderInlineStartColor, + LonghandId::BorderInlineEndColor, + LonghandId::BorderBlockStartColor, + LonghandId::BorderBlockEndColor, LonghandId::TextShadow, ]; |