Bug 247674 - calc() does not work in media queries for the aspect-ratio feature
Summary: calc() does not work in media queries for the aspect-ratio feature
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2022-11-09 07:36 PST by romain
Modified: 2023-05-11 13:47 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description romain 2022-11-09 07:36:37 PST
WPT test : https://github.com/web-platform-tests/wpt/pull/36889

`<ratio>` should accept `calc()` as one or both of it's values.

This works in Gecko, but does not work in Blink or WebKit.
Comment 1 Radar WebKit Bug Importer 2022-11-16 07:37:16 PST
<rdar://problem/102419624>
Comment 2 Ahmad Saleem 2023-05-11 12:53:15 PDT
STP169 is passing test added by this commit:

https://wpt.fyi/results/css/mediaqueries/mq-calc-008.html?label=master&label=experimental&aligned=&q=mq-calc-008.html

Marking this as "RESOLVED CONFIGURATION CHANGED".

Even Safari 16.4.1 passes this.
Comment 3 romain 2023-05-11 13:47:51 PDT
Correct, this shipped in Safari 16.4