[wpt-sync] Sync PR 50484 - [functions] Substitute var() via attr() locally
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50484 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50484
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[functions] Substitute var() via attr() locally
In other words, when substituting an attribute like "var(--x)",
the referenced "--x" must respect the local context: it can either
refer to a local variable, and argument, or a custom property.https://drafts.csswg.org/css-mixins-1/#locally-substitute-a-var
Bug: 325504770
Change-Id: I68a1d4cecc173ebe17692087edaa1014eab27466
Fixed: 391570175
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6190814
Reviewed-by: Munira Tursunova \<moonira@google.com>
Commit-Queue: Anders Hartvoll Ruud \<andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1415486}
Assignee | ||
Updated•20 days ago
|
Assignee | ||
Comment 1•20 days ago
|
||
Assignee | ||
Comment 2•20 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 6
Chrome
OK
: 1
FAIL
: 6
Safari
OK
: 1
FAIL
: 6
Links
Details
New Tests That Don't Pass
- /css/css-mixins/local-attr-substitution.html [wpt.fyi]
- var() in attribute value substitutes locally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - var() in attribute value substitutes locally, argument:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - var() in attribute value substitutes locally, typed:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - attr() fallback substitutes locally:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - attr() cycle through local:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - attr() cycle through fallback in local:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- var() in attribute value substitutes locally:
Comment 4•17 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3836cc7f98fe
https://hg.mozilla.org/mozilla-central/rev/a6ad59bd7a85
Description
•