Closed
Bug 1392956
Opened 7 years ago
Closed 7 years ago
stylo: Incorrect round-tripping of "* + *" selector
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1391169
People
(Reporter: bugzilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: nightly-community)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8
Steps to reproduce:
Firefox Developer Edition 56.0b4 (64-bit)
* Set layout.css.servo.enabled to "true"
* Restart
* Created a rule whose selector is ".anchor * + *" (a less efficient version of :not(:first-child) if you will).
* Programmatically retrieve rule
* Look at selector
https://codepen.io/anon/pen/eEKBpw
Actual results:
selector text is ".anchor **"
Expected results:
selector text should be ".anchor * + *"
Updated•7 years ago
|
Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core
Comment 1•7 years ago
|
||
Thank you!
Confirmed in Nightly 57 x64 20170823100553 @ Debian Testing.
Devtools > Console:
without stylo: .anchor * + *
with stylo: .anchor **
Blocks: stylo-site-issues
Status: UNCONFIRMED → NEW
Has STR: --- → yes
status-firefox55:
--- → disabled
status-firefox56:
--- → affected
status-firefox57:
--- → affected
status-firefox-esr52:
--- → unaffected
Ever confirmed: true
OS: Unspecified → All
Summary: Incorrect round-tripping of "* + *" selector with stylo/quantumcss → stylo: Incorrect round-tripping of "* + *" selector
Updated•7 years ago
|
Keywords: nightly-community
Comment 2•7 years ago
|
||
Reminds me of bug 1391169.
Comment 3•7 years ago
|
||
The testcase in Bug 1391169 is nearly identical and the patch I'm working on there will resolve this, as well.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
status-firefox55:
disabled → ---
status-firefox56:
affected → ---
status-firefox57:
affected → ---
status-firefox-esr52:
unaffected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•