From aac31a35d7606ed3fd02c74b7155e5c264a4ad4a Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 3 Oct 2017 15:58:41 -0700 Subject: [PATCH] stylo: `all` shorthand should not apply to internal properties --- components/style/properties/properties.mako.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 4c83089c5044..7de94c689d98 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -175,7 +175,9 @@ pub mod shorthands { // We don't defined the 'all' shorthand using the regular helpers:shorthand // mechanism, since it causes some very large types to be generated. <% data.declare_shorthand("all", - [p.name for p in data.longhands if p.name not in ['direction', 'unicode-bidi']], + [p.name for p in data.longhands + if p.name not in ['direction', 'unicode-bidi'] + and not p.internal], spec="https://drafts.csswg.org/css-cascade-3/#all-shorthand") %> }