[wpt-sync] Sync PR 57189 - Use property info for random() from CSSParserLocalContext
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
614.78 KB,
text/plain
|
Details |
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}
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Comment 1•10 months ago
|
||
| Assignee | ||
Comment 2•10 months ago
|
||
Comment 4•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c3389e72ffac
https://hg.mozilla.org/mozilla-central/rev/923ee11b6457
Description
•