RESOLVED FIXED284895
[css-values-5] Implement ident() arbitrary substitution function
https://bugs.webkit.org/show_bug.cgi?id=284895
Summary [css-values-5] Implement ident() arbitrary substitution function
Bramus
Reported 2024-12-18 12:07:54 PST
See resolution at https://github.com/w3c/csswg-drafts/issues/9141#issuecomment-2551910531 (Filing this to have _something_ to track, spec-work still needs to be done)
Attachments
Radar WebKit Bug Importer
Comment 1 2024-12-25 12:08:12 PST
Bramus
Comment 2 2025-01-16 12:53:09 PST
The spec edits are in: https://drafts.csswg.org/css-values-5/#ident There still is the open issue of https://github.com/w3c/csswg-drafts/issues/11424 which I would like to resolve on soon (at the upcoming CSSWG F2F, preferably).
saku
Comment 3 2026-03-01 06:03:22 PST
saku
Comment 4 2026-03-01 06:53:55 PST
This patch implements the most foundational part of the ident() function, enabling ident() in view-transition-name (which is covered by ident-function-parsing/computed WPT) for now. Known follow-ups: - [ ] [`anchor-name` / `anchor-scope` / `position-anchor`](https://wpt.fyi/results/css/css-anchor-position/anchor-ident-function.html) - [ ] [`animation-timeline` / `scroll-timeline-name` / `view-timeline-name` / `timeline-scope`](https://wpt.fyi/results/scroll-animations/css/timeline-names-ident-function.html) - [ ] [`container-name` / `container`](https://wpt.fyi/results/css/css-conditional/container-queries/container-ident-function.html) - [ ] [`position-try-fallbacks` / `position-try`](https://wpt.fyi/results/css/css-anchor-position/position-try-ident-function.html) - [ ] [registered custom properties (`@property` with `syntax: "<custom-ident>"`)](https://wpt.fyi/results/css/css-properties-values-api/registered-property-ident-function.html) - [ ] [`var()` integration cases using `ident()`](https://wpt.fyi/results/css/css-variables/var-ident-function.html)
saku
Comment 5 2026-06-16 17:23:29 PDT
saku
Comment 6 2026-06-17 04:24:23 PDT
EWS
Comment 7 2026-06-17 08:14:57 PDT
Committed 315374@main (0f653a073008): <https://commits.webkit.org/315374@main> Reviewed commits have been landed. Closing PR #67308 and removing active labels.
EWS
Comment 8 2026-07-05 00:23:34 PDT
Committed 316524@main (7f655a4e9f5d): <https://commits.webkit.org/316524@main> Reviewed commits have been landed. Closing PR #67336 and removing active labels.
revert-bot
Comment 9 2026-08-10 05:31:14 PDT
Reopened Bugzilla. No longer correct after new CSSWG resolution, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=321431.
Antti Koivisto
Comment 10 2026-08-10 11:12:36 PDT
EWS
Comment 11 2026-08-11 13:01:42 PDT
Committed 318987@main (004cb05ad8d1): <https://commits.webkit.org/318987@main> Reviewed commits have been landed. Closing PR #71301 and removing active labels.
Antti Koivisto
Comment 12 2026-08-11 22:40:48 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/61877
Note You need to log in before you can comment on or make changes to this bug.