mirror of
https://github.com/servo/servo.git
synced 2025-07-05 22:43:40 +01:00
stylo: all
shorthand should not apply to internal properties
This commit is contained in:
parent
0b69887387
commit
aac31a35d7
1 changed files with 3 additions and 1 deletions
|
@ -175,7 +175,9 @@ pub mod shorthands {
|
||||||
// We don't defined the 'all' shorthand using the regular helpers:shorthand
|
// We don't defined the 'all' shorthand using the regular helpers:shorthand
|
||||||
// mechanism, since it causes some very large types to be generated.
|
// mechanism, since it causes some very large types to be generated.
|
||||||
<% data.declare_shorthand("all",
|
<% 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") %>
|
spec="https://drafts.csswg.org/css-cascade-3/#all-shorthand") %>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue