Bug 250647

Summary: [MQ4] Allow negative values in media queries
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=258250

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.