Bug 247674

Summary: calc() does not work in media queries for the aspect-ratio feature
Product: WebKit Reporter: romain
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, karlcow, koivisto, nmouchtaris, ntim, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari 16   
Hardware: Unspecified   
OS: Unspecified   

romain
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-16 07:37:16 PST
Ahmad Saleem
Comment 2 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.
romain
Comment 3 2023-05-11 13:47:51 PDT
Correct, this shipped in Safari 16.4
Note You need to log in before you can comment on or make changes to this bug.