[wpt-sync] Sync PR 62704 - Don't fold expressions to NaN/Inf while resolving a CalculationValue
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
644.81 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62704 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62704
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Don't fold expressions to NaN/Inf while resolving a CalculationValue
In an expression like "calc(4px / round(100% / 25px))", evaluating with
a max value of 1 will yield infinity - which is not correct. Disable
this code behind the flag CSSCalcEarlyNaNAndInfFolding.Fixed: 560226430
Change-Id: I663b7c8a4920e564eab9ace95b42b686cc7a337eReviewed-on: https://chromium-review.googlesource.com/8398590
WPT-Export-Revision: a73479703ea3a0276944ec02ad3f5ca40303f6d3
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=91992
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 514 tests
Status Summary
Firefox
OK : 1[GitHub] 278[Gecko-linux2404-64-debug] 279[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 22[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 41[GitHub] 5828[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5980[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5993[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL: 4557[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4603[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 4618[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 37
FAIL: 4
Safari
OK : 1
PASS: 37
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/22097b3552ab
https://hg.mozilla.org/mozilla-central/rev/d638172e342d
Description
•