[csswg-drafts] [css-animations] Allow CSSKeyframesRule.name to set reserved values

Manishearth has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-animations] Allow CSSKeyframesRule.name to set reserved values
 ==
https://drafts.csswg.org/css-animations/#dom-csskeyframesrule-name

> Setting this property to a value matching a CSS-wide keyword or any 
keyword defined for the animation-name property will throw a 
SyntaxError exception. 


However, it is already possible to create a keyframes rule with a name
 matching a CSS-wide keyword using a string -- `@keyframes "initial" 
{..}` works (See 
https://drafts.csswg.org/css-animations/#typedef-keyframes-name and 
Example 2 below it). The DOM setter should be able to create such 
rules, so we should remove the ability for the setter to throw a 
syntax error and allow all strings.

cc @canaltinova @dbaron 

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/801 using your GitHub 
account

Received on Tuesday, 13 December 2016 22:35:38 UTC