Closed
Bug 1417548
Opened 7 years ago
Closed 7 years ago
stylo: Different CSS error is reported when a declaration block is nested
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: xidorn, Assigned: xidorn)
References
Details
Attachments
(1 file)
(deleted),
text/x-github-pull-request
|
Details |
For the following piece of code from ua.css:
> div:-moz-native-anonymous.moz-accessiblecaret.right > #image {
> }
>
> div:-moz-native-anonymous.moz-accessiblecaret.none {
> }
>
> @media (min-resolution: 1.5dppx) {
> div:-moz-native-anonymous.moz-accessiblecaret.normal > #image {
> }
> }
Stylo reports
> Unknown pseudo-class or pseudo-element ‘-moz-native-anonymous’. Ruleset ignored due to bad selector.
for the two rules outside @media, but it reports just
> Declaration dropped.
for the rule inside the @media.
This causes browser/base/content/test/static/browser_parsable_css.js to fail because "Declaration dropped." is not in the whitelist, and it shouldn't either.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → xidorn+moz
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 3•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
•