Closed Bug 1885887 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 45166 - Fix color function preamble parsing

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Fix color function preamble parsing

The current code accepts functions named after the color-space names
(like 'xyz').

Refactor the parsing of the preamble to first parse, check and consume
the function tokens and then parse a potential relative color and
resolve the color space.

Bug: 329820314
Change-Id: Ib9de0f64381d1a424ee31b19a10fc3488ba251a5
Reviewed-on: https://chromium-review.googlesource.com/5375253
WPT-Export-Revision: 2a7f597387344ddd4181953bd52bc18cc66a770f

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 124 subtests

Status Summary

Safari

OK : 1
PASS: 124

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f98e0d417ff [wpt PR 45166] - Fix color function preamble parsing, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.