Closed Bug 1469174 Opened 6 years ago Closed 2 years ago

Consider allowing values before the media feature name in media feature ranges

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed)

Attachments

(3 files)

This would allow syntax like:

 (50px < width < 100px)

Or just:

 (50px < width)

To work.

See https://github.com/w3c/csswg-drafts/issues/2791 for my concerns about this.
No longer blocks: 1422225
Depends on: 1422225
Priority: -- → P3
I guess to fix this we may need to extend Delimiters in cssparser crate to be able to stop at angle brackets and equals.
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9cfeaecf894e
Factor out parsing the query feature name. r=boris
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfd75acf7c83
Refactor media feature expression representation in preparation to support multi-range syntax. r=boris
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/87cf7f130a02
Implement media feature expression multi-range syntax. r=boris
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33913 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: