[wpt-sync] Sync PR 62726 - [SVG] [CSS-link-params] Add the link-parameters property
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=93176
| Assignee | ||
Comment 2•2 months ago
|
||
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
- /css/css-link-params/link-parameters-computed.html [wpt.fyi]
- Property link-parameters value 'param(ident("--a"), orange)':
FAIL(Chrome:FAIL, Safari:FAIL)
- Property link-parameters value 'param(ident("--a"), orange)':
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1d00e74f8d3b
https://hg.mozilla.org/mozilla-central/rev/5dbc134b9d45
Description
•