Closed Bug 2022314 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 58399 - Support attr() argument grammar

Categories

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

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

moonira <moonira@google.com> wrote:

Support attr() argument grammar

\<attr-args> = attr( \<declaration-value>, \<declaration-value>? )

Substitute arbitrary substitution functions in first
\<declaration-value>, then parse it as \<attr-name> \<attr-type>?

https://drafts.csswg.org/css-values-5/#attr-notation

Bug: 447562303
Change-Id: Ie6de3862f13ff28c6c086d4d8e652923d7c7c21d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6988329
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Munira Tursunova \<moonira@google.com>
Cr-Commit-Position: refs/heads/main@{#1597123}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 427 tests ## Status Summary ### Firefox `OK` : 1[GitHub] 229[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-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS`: 6[GitHub] 17[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5178[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 5312[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 5323[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] `FAIL`: 6[GitHub] 4313[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 4348[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] 4360[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] ### Chrome `OK` : 1 `PASS`: 8 `FAIL`: 4 ### Safari `OK` : 1 `PASS`: 6 `FAIL`: 6 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=8ba6047f7a2887fa82e1149a3065983c219c0bfb) [GitHub PR Head](https://wpt.fyi/results/?sha=02ef2d842861c66227fa6e6031a677ab6f293076&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=02ef2d842861c66227fa6e6031a677ab6f293076&label=pr_base) ## Details (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: