Bug 247674
| Summary: | calc() does not work in media queries for the aspect-ratio feature | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | romain |
| Component: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/102419624>
Ahmad Saleem
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
Correct, this shipped in Safari 16.4