You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This attribute represents the keyframe selector as a comma-separated list of percentage values. The from and to keywords map to 0% and 100%, respectively.
If keyText is updated with an invalid keyframe selector, a SyntaxError exception must be thrown and the value of keyText must remain unchanged.
the CSS parsing restrictions aren't really relevant here, since we're not in CSS. Being able to make a counter called "1st" should be easily doable in JS, even if you have to escape it in your stylesheet.
The procedures to get/set
CSSKeyframesRule.name
andCSSKeyframeRule.keyText
are loosely worded:https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule-idl
Related: #2435
https://drafts.csswg.org/css-animations-1/#interface-csskeyframerule-idl
The text was updated successfully, but these errors were encountered: