Closed
Bug 1386109
Opened 7 years ago
Closed 7 years ago
stylo: ensure stylo permits the same media query types allowed by gecko
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1371395
People
(Reporter: bradwerth, Assigned: bradwerth)
References
Details
https://drafts.csswg.org/mediaqueries/#media-types lists some deprecated media query types that are allowable, but should match nothing. Gecko is still matching "braille" and possibly others that Stylo does not. Make Stylo match the same set of media types that Gecko allows.
Assignee | ||
Comment 1•7 years ago
|
||
The patch for Bug 1371395 is going to be comprehensive enough to address this issue as well.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 2•7 years ago
|
||
(In reply to Brad Werth [:bradwerth] from comment #0)
> https://drafts.csswg.org/mediaqueries/#media-types lists some deprecated
> media query types that are allowable, but should match nothing. Gecko is
> still matching "braille" and possibly others that Stylo does not. Make Stylo
> match the same set of media types that Gecko allows.
Note that Stylo already parsed those in media queries, and made them MediaQueryType::Unknown, that never matches. Any identifier is valid in a media query except a few ones like |not|, etc.
You need to log in
before you can comment on or make changes to this bug.
Description
•