mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #18734 - Manishearth:stylo-all, r=upsuper
stylo: `all` shorthand should not apply to internal properties r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1404057 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18734) <!-- Reviewable:end -->
This commit is contained in:
commit
43686a8738
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
|
||||
// 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") %>
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue