Bug 1404057 - stylo: `all` shorthand should not apply to internal properties; r?xidorn
MozReview-Commit-ID: FENWGo3YqYE
--- a/servo/components/style/properties/properties.mako.rs
+++ b/servo/components/style/properties/properties.mako.rs
@@ -170,17 +170,19 @@ pub mod shorthands {
<%include file="/shorthand/padding.mako.rs" />
<%include file="/shorthand/position.mako.rs" />
<%include file="/shorthand/inherited_svg.mako.rs" />
<%include file="/shorthand/text.mako.rs" />
// 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") %>
}
/// A module with all the code related to animated properties.
///
/// This needs to be "included" by mako at least after all longhand modules,
/// given they populate the global data.
pub mod animated_properties {