From 6dac81c34c03503dc17866c10439fec461f028cc Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 9 Aug 2017 18:39:47 -0700 Subject: [PATCH] Include logical properties in has_author_specified_rules --- components/style/rule_tree/mod.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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, ];