RESOLVED FIXED285295
[view-transitions] animation-name set from user agent dynamic stylesheet has extra quotes
https://bugs.webkit.org/show_bug.cgi?id=285295
Summary [view-transitions] animation-name set from user agent dynamic stylesheet has ...
martrapp@gmx.net
Reported 2025-01-02 03:25:01 PST
Created attachment 473742 [details] minimal reproduction that logs the names with quotes View transition animation names from the user agent stylesheet like -ua-view-transition-group-anim-body are reported with additional quotes by getComputedStyle(), e.g. "-ua-view-transition-group-anim-body".
Attachments
minimal reproduction that logs the names with quotes (827 bytes, text/html)
2025-01-02 03:25 PST, martrapp@gmx.net
no flags
Entry page to test page (96 bytes, text/html)
2025-01-02 18:57 PST, Tim Nguyen (:ntim)
no flags
Tim Nguyen (:ntim)
Comment 1 2025-01-02 18:57:14 PST Comment hidden (obsolete)
Tim Nguyen (:ntim)
Comment 2 2025-01-02 19:27:11 PST
The string serialization is technically not invalid, since `animation-name` accepts both a `<custom-ident>` and a `<string>` (and they are both equivalent in terms of functionality, except for restricted idents) but I suppose it's possible to align with Chrome here.
Radar WebKit Bug Importer
Comment 3 2025-01-02 20:19:34 PST
Tim Nguyen (:ntim)
Comment 4 2025-01-02 20:26:07 PST Comment hidden (obsolete)
Tim Nguyen (:ntim)
Comment 5 2025-01-02 20:26:26 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/49894
martrapp@gmx.net
Comment 6 2025-01-02 23:48:17 PST
Thank you for considering this!
Tim Nguyen (:ntim)
Comment 7 2025-01-03 10:31:32 PST
EWS
Comment 8 2025-01-03 13:50:20 PST
Committed 288417@main (f0baf504e518): <https://commits.webkit.org/288417@main> Reviewed commits have been landed. Closing PR #38501 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.