[wpt-sync] Sync PR 60050 - Move NaN censoring into CSSMathFunctionValue::ClampToPermittedRange
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60050 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60050
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Move NaN censoring into CSSMathFunctionValue::ClampToPermittedRange
A NaN would not be modified by ClampToPermittedRange(), so any later
censoring would produce an incorrect result for the kPositiveInteger
value range.Perform the censoring as a first step in ClampToPermittedRange(),
before applying the value range.Remove a few of the censoring operations in callers since they will be
redundant.Add the censoring operation as CensorNaNToZero() to
CSSValueClampingUtils, and also convert CSSValueClampingUtils to use it.Fixed: 509964638
Change-Id: I33786a5a5b8c887e15247f4107aa2182ab1053aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7862886
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Fredrik Söderquist \<fs@opera.com>
Cr-Commit-Position: refs/heads/main@{#1634196}
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=750e631c5f2dcb7438b7f7a8c162eca88c7bab1d
| Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 47 tests
Status Summary
Firefox
OK : 1[GitHub] 7[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-debug, 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: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 26[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 31[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-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4[GitHub] 19[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 53[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-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 3
FAIL: 1
Safari
OK : 1
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-flexbox/balance/balance-negative-margin-002.html [wpt.fyi]
- #flex > div 2:
FAIL - #flex > div 3:
FAIL - #flex > div 4:
FAIL
- #flex > div 2:
- /css/css-flexbox/balance/flex-line-count-computed.html [wpt.fyi]
- Property flex-line-count value '1':
FAIL(Chrome:PASS, Safari:FAIL) - Property flex-line-count value '2':
FAIL(Chrome:PASS, Safari:FAIL) - Property flex-line-count value 'round(up, calc(7/2))':
FAIL(Chrome:PASS, Safari:FAIL) - Property flex-line-count value 'calc(NaN)':
FAIL(Chrome:FAIL, Safari:FAIL)
- Property flex-line-count value '1':
- /css/css-flexbox/balance/flex-line-count-valid.html [wpt.fyi]
- e.style['flex-line-count'] = "1" should set the property value:
FAIL - e.style['flex-line-count'] = "2" should set the property value:
FAIL
- e.style['flex-line-count'] = "1" should set the property value:
- /css/css-flexbox/balance/flex-wrap-computed.html [wpt.fyi]
- Property flex-wrap value 'balance':
FAIL - Property flex-wrap value 'wrap balance':
FAIL - Property flex-wrap value 'wrap-reverse balance':
FAIL - Property flex-wrap value 'balance wrap':
FAIL - Property flex-wrap value 'balance wrap-reverse':
FAIL
- Property flex-wrap value 'balance':
- /css/css-flexbox/balance/flex-wrap-valid.html [wpt.fyi]
- e.style['flex-wrap'] = "balance" should set the property value:
FAIL - e.style['flex-wrap'] = "wrap balance" should set the property value:
FAIL - e.style['flex-wrap'] = "wrap-reverse balance" should set the property value:
FAIL - e.style['flex-wrap'] = "balance wrap" should set the property value:
FAIL - e.style['flex-wrap'] = "balance wrap-reverse" should set the property value:
FAIL
- e.style['flex-wrap'] = "balance" should set the property value:
- /css/css-flexbox/balance/balance-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-003.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-005.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-available-size-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-available-size-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-complex.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-003.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-004.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-006.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-dynamic-007.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-flex-grow.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-003.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-004.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-005.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-006.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-line-count-intrinsic-007.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-003.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-004.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-005.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-min-line-count-006.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-negative-margin-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-percentage-size-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-percentage-size-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-start-bias-001.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-start-bias-002.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-start-bias-003.html [wpt.fyi]:
FAIL - /css/css-flexbox/balance/balance-zero-size.html [wpt.fyi]:
FAIL
Comment 4•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0c18d26ff069
https://hg.mozilla.org/mozilla-central/rev/abb5fd02cc1e
Description
•