Closed Bug 1417207 Opened 7 years ago Closed 7 years ago

stylo: serialization of rule list in group rules is different than Gecko

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- fixed

People

(Reporter: xidorn, Assigned: xidorn)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

41 bytes, text/x-github-pull-request
Details | Review
If we have a rule like: > @media screen { div { color: white; } } Gecko (as well as Blink) serializes it as: > @media screen { > div { color: white; } > } while Stylo serializes it as > @media screen { div { color: white; } } Although the serialization is not speced anywhere at the moment, I think the way Gecko and Blink currently do makes sense, and we should change Stylo to do so as well. It causes failures in layout/style/test/chrome/test_chrome_only_media_queries.html when I tried to enable stylo on chrome by default.
Attached file Servo PR
(In reply to Xidorn Quan [:xidorn] UTC-8 (less responsive Nov 5 ~ Dec 16) from comment #0) > It causes failures in > layout/style/test/chrome/test_chrome_only_media_queries.html when I tried to > enable stylo on chrome by default. Whoops, that happens to me for writing tests the lazy way ;)
Assignee: nobody → xidorn+moz
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: