Include logical properties in has_author_specified_rules

This commit is contained in:
Manish Goregaokar 2017-08-09 18:39:47 -07:00 committed by Manish Goregaokar
parent 4d4cde293f
commit 6dac81c34c

View file

@ -1080,6 +1080,19 @@ impl StrongRuleNode {
LonghandId::BorderTopRightRadius, LonghandId::BorderTopRightRadius,
LonghandId::BorderBottomRightRadius, LonghandId::BorderBottomRightRadius,
LonghandId::BorderBottomLeftRadius, 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] = &[ const PADDING_PROPS: &'static [LonghandId] = &[
@ -1087,6 +1100,11 @@ impl StrongRuleNode {
LonghandId::PaddingRight, LonghandId::PaddingRight,
LonghandId::PaddingBottom, LonghandId::PaddingBottom,
LonghandId::PaddingLeft, LonghandId::PaddingLeft,
LonghandId::PaddingInlineStart,
LonghandId::PaddingInlineEnd,
LonghandId::PaddingBlockStart,
LonghandId::PaddingBlockEnd,
]; ];
// Inherited properties: // Inherited properties:
@ -1131,6 +1149,10 @@ impl StrongRuleNode {
LonghandId::BorderRightColor, LonghandId::BorderRightColor,
LonghandId::BorderBottomColor, LonghandId::BorderBottomColor,
LonghandId::BorderLeftColor, LonghandId::BorderLeftColor,
LonghandId::BorderInlineStartColor,
LonghandId::BorderInlineEndColor,
LonghandId::BorderBlockStartColor,
LonghandId::BorderBlockEndColor,
LonghandId::TextShadow, LonghandId::TextShadow,
]; ];