Bug 248513

Summary: atan2 function should resolve relative-length
Product: WebKit Reporter: Seokho Song <seokho>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, nmouchtaris, ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Seokho Song 2022-11-29 20:44:54 PST
According to the spec [1], atan2() should consume <dimension> that require resolving relative lengths.

For example, `atan2(1em, 1px)`, and `atan2(1vw, 1wh)`.

[1] https://www.w3.org/TR/css-values-4/#funcdef-atan2

crbug: https://crbug.com/1392594
FYR: https://chromium-review.googlesource.com/c/chromium/src/+/4004379/comment/5cee3216_d4a178ca/
Comment 1 Radar WebKit Bug Importer 2022-12-08 12:32:13 PST
<rdar://problem/103141582>
Comment 2 Ahmad Saleem 2023-07-13 16:35:45 PDT
https://github.com/w3c/csswg-drafts/issues/8169