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)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: xidorn, Assigned: xidorn)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-github-pull-request
|
Details |
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.
Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
(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 | ||
Comment 3•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → xidorn+moz
Assignee | ||
Comment 4•7 years ago
|
||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•