Closed Bug 2072473 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62726 - [SVG] [CSS-link-params] Add the link-parameters property

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rahul Singh (EDGE) <rahsin@microsoft.com> wrote:

[SVG] [CSS-link-params] Add the link-parameters property

Registers link-parameters behind an experimental runtime flag. Parses
the new property using the infrastructure from
https://crrev.com/c/7930231. LinkParameters::ParseSingleValue() calls
ConsumeLinkParameters(), which produces a CSSValueList of
CSSParamValuePair entries.

For declarations containing substitutions, ConsumeParam() returns
nullptr. Blink's CSS substitution handling then resolves the
substitutions and reparses the property.

ConvertLinkParameters() converts the resolved entries into a
LinkParameterList for storage in ComputedStyle.
CSSValueFromComputedStyleInternal() reconstructs the computed CSS value
for serialization. LinkParameterList preserves parameter order and
duplicate names in computed-style serialization, as required by the
specification.

Bug: 41482962
Change-Id: I51d6b60d7b9848fb1cb91ead4f8a7614b876c708
Reviewed-on: https://chromium-review.googlesource.com/8275329
WPT-Export-Revision: 55dc996c82b82470ccf443a446d58a66a69bb1cc

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

CI Results

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

Total 6 tests and 6 subtests

Status Summary

Firefox

OK : 3[GitHub] 6[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 54[GitHub] 74[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1

Chrome

OK : 3
FAIL: 55

Safari

OK : 3
FAIL: 55

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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