WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 278244
259013
[CSS Math Functions] Implement use-time handling of relative units
https://bugs.webkit.org/show_bug.cgi?id=259013
Summary
[CSS Math Functions] Implement use-time handling of relative units
Tim Nguyen (:ntim)
Reported
2023-07-08 03:17:11 PDT
sign(10px - 1em) should return 0 if font-size is 10px, right now it returns 1px, which is incorrect. See failures in
https://wpt.fyi/results/css/css-values/signs-abs-computed.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-mathfunctions
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-07-08 03:17:20 PDT
<
rdar://problem/111949502
>
Tim Nguyen (:ntim)
Comment 2
2023-07-08 03:17:58 PDT
ditto for sign(10px - 2em), that should be -1 with font-size 10px.
Tim Nguyen (:ntim)
Comment 3
2023-07-08 13:11:16 PDT
round/mod/rem have similar failures with percentage lengths
Tim Nguyen (:ntim)
Comment 4
2024-09-18 23:08:04 PDT
Fixed by
bug 278244
*** This bug has been marked as a duplicate of
bug 278244
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug