Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
stylo: all shorthand should not apply to internal properties
  • Loading branch information
Manishearth committed Oct 4, 2017
1 parent 0b69887 commit aac31a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/style/properties/properties.mako.rs
Expand Up @@ -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") %>
}

Expand Down

0 comments on commit aac31a3

Please sign in to comment.