Closed Bug 1356125 Opened 7 years ago Closed 7 years ago

stylo: support all shorthand

Categories

(Core :: CSS Parsing and Computation, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file, 2 obsolete files)

      No description provided.
Attachment #8857778 - Flags: review?(emilio+bugs)
Attachment #8857779 - Flags: review?(emilio+bugs)
Comment on attachment 8857778 [details]
stylo: Generate eCSSPropertyID_all as a const rather than an enum value.

https://reviewboard.mozilla.org/r/129748/#review132384
Attachment #8857778 - Flags: review?(emilio+bugs) → review+
Comment on attachment 8857779 [details]
style: Support the all shorthand.

https://reviewboard.mozilla.org/r/129750/#review132386

::: servo/components/style/properties/properties.mako.rs:169
(Diff revision 1)
>      <%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" />
> +
> +    <% components_of_all_shorthand = [p.name for p in data.longhands if p.name not in ['direction', 'unicode-bidi']] %>

Can you leave a `TODO` comment here regarding we might be able to cascade this more efficiently by not expanding to all longhands?
Attachment #8857779 - Flags: review?(emilio+bugs) → review+
Comment on attachment 8857780 [details]
Bug 1356125 - stylo: Update test expectations.

https://reviewboard.mozilla.org/r/129752/#review132390
Attachment #8857780 - Flags: review?(emilio+bugs) → review+
Attachment #8857778 - Attachment is obsolete: true
Attachment #8857779 - Attachment is obsolete: true
Assignee: nobody → cam
Priority: -- → P1
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s a200f93ade7c -d a8a257ba1903: rebasing 389952:a200f93ade7c "Bug 1356125 - stylo: Update test expectations. r=emilio" (tip)
merging layout/style/test/stylo-failures.md
warning: conflicts while merging layout/style/test/stylo-failures.md! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f757c8626d1
stylo: Update test expectations. r=emilio
https://hg.mozilla.org/mozilla-central/rev/1f757c8626d1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: