[Webkit-unassigned] [Bug 253032] animation-name or @keyframe identifiers with quotes are recognized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 01:48:20 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253032

Antoine Quint <graouts at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Antoine Quint <graouts at webkit.org> ---
I think the CodePen is wrong and all the referenced material from it outdated.

The current spec for CSS Animations specifies <string> as valid values at https://w3c.github.io/csswg-drafts/css-animations/#typedef-keyframes-name:

<keyframes-name> = <custom-ident> | <string>

There is also this note specifically showing using strings as valid:

For example, the following two @keyframes rules have the same name, so the first will be ignored:
@keyframes foo { /* ... */ }
@keyframes "foo" { /* ... */ } 

I believe Chrome is incorrect while Firefox and Safari are correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230228/294556a5/attachment.htm>


More information about the webkit-unassigned mailing list