Closed Bug 2062916 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61882 - Updated random() in if() test according to recent spec resolution

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

(2 files)

Sync web-platform-tests PR 61882 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/61882
Details from upstream follow.

moonira <moonira@google.com> wrote:

Updated random() in if() test according to recent spec resolution

In [0] it was resolved that:

If a random() is evaluated within an arb-sub function as part of
substitution (rather than as the substitution value itself),
its random-ua-ident will have the form "ua-early-PROPERTY-INDEX",
where PROPERTY is the name of the property it's used in,
and INDEX is the nth usage of random() across all arb-subs
in the property, in parse order.

[0] https://github.com/w3c/csswg-drafts/issues/13662#issuecomment-4672428004

Bug: 522304655, 413385732
Change-Id: I90b43222f6464056829eb4ad5ec82ac94bfa5548
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8206604
Reviewed-by: Philip Jägenstedt \<foolip@chromium.org>
Commit-Queue: Philip Jägenstedt \<foolip@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1677830}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 500 tests

Status Summary

Firefox

OK : 1[GitHub] 267[Gecko-linux2404-64-debug] 268[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: 3[GitHub] 21[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5780[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5930[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5939[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: 7[GitHub] 4466[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4516[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] 4527[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 5
FAIL: 5

Safari

OK : 1
PASS: 3
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 500 tests

Status Summary

Firefox

OK : 1[GitHub] 267[Gecko-linux2404-64-debug] 268[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: 3[GitHub] 21[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5780[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 5930[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 5939[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: 7[GitHub] 4466[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 4516[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] 4527[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 5
FAIL: 5

Safari

OK : 1
PASS: 3
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(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: