Closed Bug 2010666 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 57189 - Use property info for random() from CSSParserLocalContext

Categories

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

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

moonira <moonira@google.com> wrote:

Use property info for random() from CSSParserLocalContext

Replace CopyRandomWithPropertyNameAndValueIndexIfNeeded approach for
getting property name and random() index in CSSMathExpression, with
getting that information from CSSParserLocalContext.

Note: Custom properties are not yet supported, for them we need to pass
CSSParserLocalContext to SyntaxDefinition, to be done in the next CLs.
Also because of the workaround for random() unresolvable percentages
issue [0], resolvable percentages are not always properly parsed, there
is a failing palette-mix test reflecting that.

[0] crbug.com/463635948

Bug: 413385732
Change-Id: I58d752624fadcf0efae1f37aa2f1567fced66606
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7380112
Commit-Queue: Munira Tursunova \<moonira@google.com>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1569918}

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 411 tests ## Status Summary ### Firefox `OK` : 1[GitHub] 220[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-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS` : 7[GitHub] 17[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5075[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 5201[Gecko-linux2404-64-debug] 5202[Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 5212[Gecko-android-em-14-x86_64-debug-geckoview] 5213[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] `FAIL` : 107[GitHub] 4276[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 4311[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 4312[Gecko-android-em-14-x86_64-debug-geckoview] 4323[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `TIMEOUT`: 1 ### Chrome `OK` : 1 `PASS` : 7 `FAIL` : 107 ### Safari `OK` : 1 `PASS` : 100 `FAIL` : 14 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=c192b37c09b397d534352cf3cd3fe8a8e71ab60b) [GitHub PR Head](https://wpt.fyi/results/?sha=a28a9f6c41daeb0950939045ba86d5758d07f7db&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=a28a9f6c41daeb0950939045ba86d5758d07f7db&label=pr_base) ## Details (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: