Bug 248513 - atan2 function should resolve relative-length
Summary: atan2 function should resolve relative-length
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-29 20:44 PST by Seokho Song
Modified: 2023-07-13 16:36 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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