Skip to content

Commit 6120769

Browse files
committed
[css-animations] Fix markup errors introduced by recent commits and bikeshed bugs
1 parent 070e563 commit 6120769

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

css-animations/Overview.bs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/infrastructure.html; type: dfn
5050
</pre>
5151
<pre class="link-defaults">
5252
spec:cssom-1; type:interface; text:CSSRule
53+
spec:html; type:dfn; text:case-sensitive
5354
</pre>
5455

5556
<h2 id="intro">
@@ -241,7 +242,7 @@ Keyframes</h2>
241242
As normal for <<custom-ident>>s and <<string>>s,
242243
the names are fully <a>case-sensitive</a>;
243244
two names are equal only if they are codepoint-by-codepoint equal.
244-
The <<custom-ident>> additionally excludes the ''none'' keyword.
245+
The <<custom-ident>> additionally excludes the ''animation-name/none'' keyword.
245246

246247
<div class=example>
247248
For example, the following two ''@keyframes'' rules have the same name,
@@ -823,15 +824,15 @@ The 'animation' shorthand property</h3>
823824
Canonical order: per grammar
824825
</pre>
825826

826-
<dfn>&lt;single-animation></dfn> = <<time>> || <<single-timing-function>> || <<time>> || <<single-animation-iteration-count>> || <<single-animation-direction>> || <<single-animation-fill-mode>> || <<single-animation-play-state>> || <<single-animation-name>>
827+
<dfn>&lt;single-animation></dfn> = <<time>> || <<single-timing-function>> || <<time>> || <<single-animation-iteration-count>> || <<single-animation-direction>> || <<single-animation-fill-mode>> || <<single-animation-play-state>> || [ none | <<keyframes-name>> ]
827828

828829
Note that order is important within each animation definition: the first value in each
829830
<<single-animation>> that can be parsed as a <<time>> is assigned to the 'animation-duration',
830831
and the second value in each <<single-animation>> that can be parsed as a <<time>> is assigned to
831832
'animation-delay'.
832833

833834
Note that order is also important within each animation definition for distinguishing
834-
<<single-animation-name>> values from other keywords. When parsing, keywords that are valid for
835+
<<keyframes-name>> values from other keywords. When parsing, keywords that are valid for
835836
properties other than 'animation-name'
836837
whose values were not found earlier in the shorthand
837838
must be accepted for those properties rather than for
@@ -954,7 +955,10 @@ Types of <code>AnimationEvent</code></h3>
954955
</ul>
955956
</dl>
956957

957-
### Event handlers on elements, <code>Document</code> objects, and <code>Window</code> objects ### {#event-handlers-on-elements-document-objects-and-window-objects}
958+
959+
<h3 id="event-handlers-on-elements-document-objects-and-window-objects">Event
960+
handlers on elements, <code>Document</code> objects, and <code>Window</code>
961+
objects</h3>
958962

959963
The following are the <a>event handlers</a> (and their corresponding <a>event
960964
handler event types</a>) that must be supported by all <a>HTML elements</a>, as
@@ -1213,7 +1217,8 @@ Extensions to the <code>GlobalEventHandlers</code> Interface</h3>
12131217

12141218
This specification extends the {{GlobalEventHandlers}} interface from HTML to
12151219
add <a>event handler IDL attributes</a> for <a href="#events">animation
1216-
events</a> as defined in [[#event-handlers-on-elements-document-objects-and-window-objects]].
1220+
events</a> as defined in
1221+
[[#event-handlers-on-elements-document-objects-and-window-objects]].
12171222

12181223
<h4 id="interface-globaleventhandlers-idl">
12191224
IDL Definition</h4>

0 commit comments

Comments
 (0)