Skip to content

Commit f3039e5

Browse files
author
Sylvain Galineau
committed
[css-animations] Reword findRule/deleteRule key argument description; list may include from/to
1 parent 93b53a8 commit f3039e5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

css-animations/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ The <code>deleteRule</code> method</h4>
993993

994994
<dt><dfn argument for="CSSKeyframesRule/deleteRule()">key</dfn> of type <a interface>DOMString</a>
995995
<dd>
996-
The keyframe selector of the rule to be deleted. Either a list of one ore more percentage values between 0% and 100%, separated by commas; or one of the keywords ''from'' or ''to'' which resolve to 0% and 100%, respectively.
996+
The keyframe selector of the rule to be deleted: a comma-separated list of either percentage values between 0% and 100% or one of the keywords ''from'' or ''to'', which resolve to 0% and 100%, respectively.
997997

998998
The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
999999
</dl>
@@ -1016,7 +1016,7 @@ The <code>findRule</code> method</h4>
10161016
<dl>
10171017
<dt><dfn argument for="CSSKeyframesRule/findRule()">key</dfn> of type <a interface>DOMString</a>
10181018
<dd>
1019-
The keyframe selector of the rule to be retrieved. Either a list of one ore more percentage values between 0% and 100%, separated by commas; or one of the keywords ''from'' or ''to'' which resolve to 0% and 100%, respectively.
1019+
The keyframe selector of the rule to be retrieved: a comma-separated list of either percentage values between 0% and 100% or one of the keywords ''from'' or ''to'', which resolve to 0% and 100%, respectively.
10201020

10211021
The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
10221022
</dl>

css-animations/Overview.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,9 +1008,9 @@ <h4 class="heading settled heading" data-level=6.3.4 id=interface-csskeyframesru
10081008

10091009
<dt><dfn class=idl-code data-dfn-for=CSSKeyframesRule/deleteRule() data-dfn-type=argument data-export="" id=dom-csskeyframesruledeleterule-key>key<a class=self-link href=#dom-csskeyframesruledeleterule-key></a></dfn> of type <a class=idl-code data-link-type=interface title=domstring>DOMString</a>
10101010
<dd>
1011-
The keyframe selector of the rule to be deleted. Either a list of one ore more percentage values between 0% and 100%, separated by commas; or one of the keywords <span class=css data-link-type=maybe title=from>from</span> or <span class=css data-link-type=maybe title=to>to</span> which resolve to 0% and 100%, respectively.
1011+
The keyframe selector of the rule to be deleted: a comma-separated list of either percentage values between 0% and 100% or one of the keywords <span class=css data-link-type=maybe title=from>from</span> or <span class=css data-link-type=maybe title=to>to</span>, which resolve to 0% and 100%, respectively.
10121012

1013-
<p> The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s).
1013+
<p> The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
10141014
</dl>
10151015

10161016
<p> No Return Value
@@ -1031,9 +1031,9 @@ <h4 class="heading settled heading" data-level=6.3.5 id=interface-csskeyframesru
10311031
<dl>
10321032
<dt><dfn class=idl-code data-dfn-for=CSSKeyframesRule/findRule() data-dfn-type=argument data-export="" id=dom-csskeyframesrulefindrule-key>key<a class=self-link href=#dom-csskeyframesrulefindrule-key></a></dfn> of type <a class=idl-code data-link-type=interface title=domstring>DOMString</a>
10331033
<dd>
1034-
The keyframe selector of the rule to be retrieved. Either a list of one ore more percentage values between 0% and 100%, separated by commas; or one of the keywords <span class=css data-link-type=maybe title=from>from</span> or <span class=css data-link-type=maybe title=to>to</span> which resolve to 0% and 100%, respectively.
1034+
The keyframe selector of the rule to be retrieved: a comma-separated list of either percentage values between 0% and 100% or one of the keywords <span class=css data-link-type=maybe title=from>from</span> or <span class=css data-link-type=maybe title=to>to</span>, which resolve to 0% and 100%, respectively.
10351035

1036-
<p> The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s).
1036+
<p> The number and order of the values in the specified keyframe selector must match those of the targeted keyframe rule(s). The match is not sensitive to white-space.
10371037
</dl>
10381038

10391039
<p> Return Value:

0 commit comments

Comments
 (0)