stylo: all shorthand should not apply to internal properties

This commit is contained in:
Manish Goregaokar 2017-10-03 15:58:41 -07:00
parent 0b69887387
commit aac31a35d7
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98

View file

@ -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") %>
}