Re: [csswg-drafts] [css-animations] Serialize all keyframe names as strings

This is likely Web-incompatible, since Firefox and Blink currently return bare identifiers in getComputedStyle.
It's also inconsistent with the principle that CSS-internal user-chosen names use identifiers and strings are only used when interfacing with an external system.

I think what would make more sense is to exclude the CSS-wide keywords and 'none' from being animation names, as the `<custom-ident>` type recommends. We could still parse in strings as required by https://github.com/w3c/csswg-drafts/issues/118 but they would compute to `<custom-ident>` and any that match an excluded keyword would be invalid. This is effectively what we do for line names in CSS Grid, for example.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2435#issuecomment-424202009 using your GitHub account

Received on Tuesday, 25 September 2018 04:16:14 UTC