Skip to content

Commit c9d9159

Browse files
author
Sylvain Galineau
committed
[css-animations] findRule()/deleteRule() key argument is percentage value or from/to (WG resolution 2014-04-02)
1 parent 97238a7 commit c9d9159

2 files changed

Lines changed: 186 additions & 217 deletions

File tree

css-animations/Overview.bs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,9 @@ The <code>deleteRule</code> method</h4>
990990

991991
<dt><dfn argument for="CSSKeyFramesRule/deleteRule()">key</dfn> of type <a interface>DOMString</a>
992992
<dd>
993-
The key which describes the rule to be deleted. The key must resolve to
994-
a number between 0 and 1, or the rule is ignored.
993+
The key which describes the rule to be deleted. A percentage value between
994+
0% and 100%, or one of the keywords ''fro'' or ''to'' which resolve to 0% and
995+
100%, respectively.
995996
</dl>
996997

997998
No Return Value
@@ -1010,9 +1011,10 @@ The <code>findRule</code> method</h4>
10101011
<dl>
10111012
<dt><dfn argument for="CSSKeyFramesRule/findRule()">key</dfn> of type <a interface>DOMString</a>
10121013
<dd>
1013-
The key which described the rule to find. The key must resolve to
1014-
a number between 0 and 1, or the rule is ignored.
1015-
</dl>
1014+
The key which describes the rule to be deleted. A percentage value between
1015+
0% and 100%, or one of the keywords ''fro'' or ''to'' which resolve to 0% and
1016+
100%, respectively.
1017+
</dl>
10161018

10171019
Return Value:
10181020

0 commit comments

Comments
 (0)