Bug 250647 - [MQ4] Allow negative values in media queries
Summary: [MQ4] Allow negative values in media queries
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-15 07:49 PST by Antti Koivisto
Modified: 2023-06-17 11:40 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2023-01-15 07:49:18 PST
"Some media features with a 'range' type are said to be false in the negative range. This means that negative values are valid and must be parsed, and that querying whether the media feature is equal to, less than, or less or equal than any such negative value must evaluate to false. Querying whether the media feature is greater, or greater or equal, than a negative value evaluates to true if the relationship is true."

https://drafts.csswg.org/mediaqueries-5/#false-in-the-negative-range
Comment 1 Radar WebKit Bug Importer 2023-01-15 07:49:43 PST
<rdar://problem/104278059>
Comment 2 Antti Koivisto 2023-01-15 08:03:24 PST
Pull request: https://github.com/WebKit/WebKit/pull/8673
Comment 3 EWS 2023-01-15 12:38:44 PST
Committed 258938@main (19ed940b6949): <https://commits.webkit.org/258938@main>

Reviewed commits have been landed. Closing PR #8673 and removing active labels.