Bug 259013
| Summary: | [CSS Math Functions] Implement use-time handling of relative units | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | 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 | ||
Tim Nguyen (:ntim)
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
<rdar://problem/111949502>
Tim Nguyen (:ntim)
ditto for sign(10px - 2em), that should be -1 with font-size 10px.
Tim Nguyen (:ntim)
round/mod/rem have similar failures with percentage lengths
Tim Nguyen (:ntim)
Fixed by bug 278244
*** This bug has been marked as a duplicate of bug 278244 ***