Skip to content

Commit 2301258

Browse files
author
Sylvain Galineau
committed
[css-animations] Clarify CSSKeyframesRule.appendRule(); valid rule is always appended
1 parent 06fb2cc commit 2301258

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css-animations/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ Attributes</h4>
962962
The <code>appendRule</code> method</h4>
963963

964964
The <dfn method for="CSSKeyFramesRule">appendRule()</dfn> method appends the passed
965-
<a idl>CSSKeyframeRule</a> into the list at the passed key.
965+
<a idl>CSSKeyframeRule</a> at the end of the keyframes rule.
966966

967967
Parameters:
968968

@@ -971,7 +971,8 @@ The <code>appendRule</code> method</h4>
971971
<dt><dfn argument for="CSSKeyFramesRule/appendRule()">rule</dfn> of type <a interface>DOMString</a>
972972
<dd>
973973
The rule to be appended, expressed in the same syntax as one entry in the
974-
''@keyframes'' rule.
974+
''@keyframes'' rule. A valid rule is always appended e.g. even if its key already
975+
exists.
975976
</dl>
976977

977978
No Return Value

0 commit comments

Comments
 (0)