Skip to content

Commit 063dc05

Browse files
committed
Allow CSSKeyframesRule.name to set reserved values
It is possible to set these values using the quoted string syntax so it doesn't make sense to prohibit setting these values from the CSSOM. This closes w3c#801.
1 parent 6867f51 commit 063dc05

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

css-animations/Overview.bs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,11 +1143,11 @@ IDL Definition</h4>
11431143

11441144
<pre class="idl">
11451145
interface CSSKeyframesRule : CSSRule {
1146-
attribute CSSOMString name;
1146+
attribute CSSOMString name;
11471147
readonly attribute CSSRuleList cssRules;
11481148

1149-
void appendRule(CSSOMString rule);
1150-
void deleteRule(CSSOMString select);
1149+
void appendRule(CSSOMString rule);
1150+
void deleteRule(CSSOMString select);
11511151
CSSKeyframeRule? findRule(CSSOMString select);
11521152
};
11531153
</pre>
@@ -1161,11 +1161,6 @@ Attributes</h4>
11611161
<dd>
11621162
This attribute is the name of the keyframes, used by the 'animation-name' property.
11631163

1164-
Setting this property to a value matching a
1165-
<a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keyword</a>
1166-
or any keyword defined for the 'animation-name' property will throw a <a spec="webidl" exception>SyntaxError</a>
1167-
exception.
1168-
11691164
<dt><dfn>cssRules</dfn>
11701165
<dd>
11711166
This attribute gives access to the keyframes in the list.

0 commit comments

Comments
 (0)