Range Queries (@media (width >= 30em) {}) #17

Closed
dralletje wants to merge 1 commit from range-queries into main
dralletje commented 2025-04-18 17:20:31 +02:00 (Migrated from github.com)

Add support for https://www.w3.org/TR/mediaqueries-4/#mq-range-context

It technically allows invalid syntax, as (width > 300px > width) should be an invalid query, but I'm guessing the added complexity isn't worth it. If you want that I can add it anyway!

Add support for https://www.w3.org/TR/mediaqueries-4/#mq-range-context It technically allows invalid syntax, as `(width > 300px > width)` should be an invalid query, but I'm guessing the added complexity isn't worth it. If you want that I can add it anyway!
marijnh commented 2025-04-18 17:44:20 +02:00 (Migrated from github.com)

This seems like it should be part of the query production. Does attached patch look reasonable to you?

This seems like it should be part of the `query` production. Does attached patch look reasonable to you?
dralletje commented 2025-04-18 18:43:50 +02:00 (Migrated from github.com)

This is more thorough even, nice!

This is more thorough even, nice!

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lezer/css!17
No description provided.