Closed Bug 2065494 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62109 - Support random() values in if() style() condition

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes —

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

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: