Skip to content

Commit e48f4b0

Browse files
committed
[css-animations-1] Fix Bikeshed warnings.
1 parent aaa7680 commit e48f4b0

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

css-animations-1/Overview.bs

+23-19
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ Animations</h2>
167167
is running apply as if the animation had those values from when it
168168
began. For example, shortening the 'animation-delay' may cause the animation
169169
to jump forwards or even finish immediately and dispatch an
170-
<a idl>animationend</a> event.
170+
{{animationend}} event.
171171
Conversely, extending the 'animation-delay' may cause an animation to
172-
re-start and dispatch an <a idl>animationstart</a> event.
172+
re-start and dispatch an {{animationstart}} event.
173173

174174
The same @keyframes rule name may be repeated within an 'animation-name'.
175175
Changes to the 'animation-name' update existing animations by iterating over
@@ -949,7 +949,7 @@ Types of <code>AnimationEvent</code></h3>
949949
<dl dfn-type=event dfn-for=animationevent>
950950
<dt><dfn>animationstart</dfn>
951951
<dd>
952-
The <a idl>animationstart</a> event occurs at the start of the animation.
952+
The {{animationstart}} event occurs at the start of the animation.
953953
If there is an 'animation-delay' then this event will fire once the delay
954954
period has expired.
955955
<p>
@@ -968,7 +968,7 @@ Types of <code>AnimationEvent</code></h3>
968968

969969
<dt><dfn>animationend</dfn>
970970
<dd>
971-
The <a idl>animationend</a> event occurs when the animation finishes.
971+
The {{animationend}} event occurs when the animation finishes.
972972
In this case the value of the {{AnimationEvent/elapsedTime}} member of
973973
the event is equal to the <a>active duration</a>.
974974
<ul>
@@ -979,7 +979,7 @@ Types of <code>AnimationEvent</code></h3>
979979

980980
<dt><dfn>animationiteration</dfn>
981981
<dd>
982-
The <a idl>animationiteration</a> event occurs at the end of each iteration of an
982+
The {{animationiteration}} event occurs at the end of each iteration of an
983983
animation, except when an animationend event would fire at the same time.
984984
This means that this event does not occur for animations with an iteration
985985
count of one or less.
@@ -998,8 +998,8 @@ Types of <code>AnimationEvent</code></h3>
998998

999999
<dt><dfn>animationcancel</dfn>
10001000
<dd>
1001-
The <a idl>animationcancel</a> event occurs when the animation stops
1002-
running in a way that does not fire an <a idl>animationend</a> event, such
1001+
The {{animationcancel}} event occurs when the animation stops
1002+
running in a way that does not fire an {{animationend}} event, such
10031003
as a change in the 'animation-name' that removes the animation, or the
10041004
animating element or one of its ancestors becoming ''display:none''.
10051005

@@ -1032,26 +1032,26 @@ both <a>event handler content attributes</a> and <a>event handler IDL
10321032
attributes</a>; and that must be supported by all {{Document}} and {{Window}}
10331033
objects, as <a>event handler IDL attributes</a>:
10341034

1035-
<table class="event-handlers">
1035+
<table class="event-handlers" dfn-type=attribute dfn-for="Document, Window">
10361036
<tr>
10371037
<th><a>Event handler</a></th>
10381038
<th><a>Event handler event type</a></th>
10391039
</tr>
10401040
<tr>
10411041
<td><dfn>onanimationstart</dfn></td>
1042-
<td><dfn><a idl>animationstart</a></dfn></td>
1042+
<td>{{animationstart}}</td>
10431043
</tr>
10441044
<tr>
10451045
<td><dfn>onanimationiteration</dfn></td>
1046-
<td><dfn><a idl>animationiteration</a></dfn></td>
1046+
<td>{{animationiteration}}</td>
10471047
</tr>
10481048
<tr>
10491049
<td><dfn>onanimationend</dfn></td>
1050-
<td><dfn><a idl>animationend</a></dfn></td>
1050+
<td>{{animationend}}</td>
10511051
</tr>
10521052
<tr>
10531053
<td><dfn>onanimationcancel</dfn></td>
1054-
<td><dfn><a idl>animationcancel</a></dfn></td>
1054+
<td>{{animationcancel}}</td>
10551055
</tr>
10561056
</table>
10571057

@@ -1065,7 +1065,7 @@ DOM Interfaces</h2>
10651065
<h3 id="interface-cssrule">
10661066
The <code>CSSRule</code> Interface</h3>
10671067

1068-
The following two rule types are added to the <a idl>CSSRule</a> interface. They provide
1068+
The following two rule types are added to the {{CSSRule}} interface. They provide
10691069
identification for the new keyframe and keyframes rules.
10701070

10711071
<h4 id="interface-cssrule-idl">
@@ -1081,7 +1081,7 @@ IDL Definition</h4>
10811081
<h3 id="interface-csskeyframerule">
10821082
The <code>CSSKeyframeRule</code> Interface</h3>
10831083

1084-
The <a idl>CSSKeyframeRule</a> interface represents the style rule for a single key.
1084+
The {{CSSKeyframeRule}} interface represents the style rule for a single key.
10851085

10861086
<h4 id="interface-csskeyframerule-idl">
10871087
IDL Definition</h4>
@@ -1133,7 +1133,7 @@ Attributes</h4>
11331133
<h3 id="interface-csskeyframesrule">
11341134
The <code>CSSKeyframesRule</code> Interface</h3>
11351135

1136-
The <a idl>CSSKeyframesRule</a> interface represents a complete set of keyframes for
1136+
The {{CSSKeyframesRule}} interface represents a complete set of keyframes for
11371137
a single animation.
11381138

11391139
<h4 id="interface-csskeyframesrule-idl">
@@ -1169,7 +1169,7 @@ Attributes</h4>
11691169
The <code>appendRule</code> method</h4>
11701170

11711171
The <dfn method for="CSSKeyframesRule" lt="appendRule(rule)">appendRule</dfn> method appends the passed
1172-
<a idl>CSSKeyframeRule</a> at the end of the keyframes rule.
1172+
{{CSSKeyframeRule}} at the end of the keyframes rule.
11731173

11741174
Parameters:
11751175

@@ -1190,7 +1190,7 @@ The <code>appendRule</code> method</h4>
11901190
The <code>deleteRule</code> method</h4>
11911191

11921192
The <dfn method for="CSSKeyframesRule" lt="deleteRule(select)">deleteRule</dfn> method deletes the
1193-
last declared <a idl>CSSKeyframeRule</a> matching the specified keyframe selector.
1193+
last declared {{CSSKeyframeRule}} matching the specified keyframe selector.
11941194
If no matching rule exists, the method does nothing.
11951195

11961196
Parameters:
@@ -1213,7 +1213,7 @@ The <code>deleteRule</code> method</h4>
12131213
The <code>findRule</code> method</h4>
12141214

12151215
The <dfn method for="CSSKeyframesRule" lt="findRule(select)">findRule</dfn> returns the
1216-
last declared <a idl>CSSKeyframeRule</a> matching the specified keyframe selector.
1216+
last declared {{CSSKeyframeRule}} matching the specified keyframe selector.
12171217
If no matching rule exists, the method does nothing.
12181218

12191219
Parameters:
@@ -1229,7 +1229,7 @@ The <code>findRule</code> method</h4>
12291229
Return Value:
12301230

12311231
<dl>
1232-
<dt><a idl>CSSKeyframeRule</a>
1232+
<dt>{{CSSKeyframeRule}}
12331233
<dd>
12341234
The found rule.
12351235
</dl>
@@ -1317,6 +1317,10 @@ partial interface GlobalEventHandlers {
13171317
</pre>
13181318

13191319

1320+
<h2 id="priv-sec">
1321+
Privacy and Security Considerations</h2>
1322+
1323+
This specification introduces no new privacy or security considerations.
13201324

13211325

13221326
<h2 id="acknowledgements">

0 commit comments

Comments
 (0)