[wpt-sync] Sync PR 62109 - Support random() values in if() style() condition
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
640.54 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62109 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62109
Details from upstream follow.
moonira <moonira@google.com> wrote:
Support random() values in if() style() condition
property-scoped and element-scoped random() values in if() style
condition should behave the same as if defined in other css property.
For property-index-scoped, if random() is evaluated within an arb-sub
function as part of substitution (rather than as the substitution value
itself), e.g. if() condition, for caching we use index of random()
across all arb-subs in the property, in parse order.Bug: 522304655, 413385732
Change-Id: I2eb9d0c77793f84de00f454d2a4c811252a8dc00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8255320
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Munira Tursunova \<moonira@google.com>
Cr-Commit-Position: refs/heads/main@{#1683771}
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=dd0d5dbd4fcaa006b482d1c8d32fd53f734a9f33
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 503 tests
Status Summary
Firefox
OK : 1[GitHub] 270[Gecko-linux2404-64-debug] 271[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: 5[GitHub] 21[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5794[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5942[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 5944[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5953[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: 9[GitHub] 4494[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4544[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] 4555[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 4557[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
Chrome
OK : 1
PASS: 7
FAIL: 7
Safari
OK : 1
PASS: 5
FAIL: 9
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-values/random-in-if.tentative.html [wpt.fyi]
- Sharing random() in same if() condition:
FAIL
- Sharing random() in same if() condition:
(See attachment for full changes)
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3b60672a9695
https://hg.mozilla.org/mozilla-central/rev/822a759b22a7
Description
•