Skip to content

Commit d4ce64f

Browse files
committed
[css-animations-1][css-animations-2][editorial] Improve heading structure
1 parent a5cb04d commit d4ce64f

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

css-animations-1/Overview.bs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Value Definitions</h3>
100100
For readability they have not been repeated explicitly.
101101

102102
<h2 id="animations">
103-
Animations</h2>
103+
CSS Animations Model</h2>
104104

105105
CSS Animations affect computed property values. This effect happens by
106106
adding a specified value to the CSS cascade ([[!CSS3CASCADE]]) (at the
@@ -212,7 +212,7 @@ Animations</h2>
212212
A future version of this specification may define how to render animations for these media.
213213

214214
<h2 id="keyframes">
215-
Keyframes</h2>
215+
Declaring Keyframes</h2>
216216

217217
Keyframes are used to specify the values for the animating properties at various points
218218
during the animation. The keyframes specify the behavior of one cycle of the animation;
@@ -453,6 +453,12 @@ Timing functions for keyframes</h3>
453453

454454
See the 'animation-timing-function' property for more information.
455455

456+
<h2 id="animation-definition">
457+
Declaring Animations</h2>
458+
459+
CSS Animations are defined by binding keyframes to an element
460+
using the 'animation' properties.
461+
456462
<h3 id="animation-name">
457463
The 'animation-name' property</h3>
458464

css-animations-2/Overview.bs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,11 @@ Note, this behavior relies on the fact that disassociating an animation
248248
from its <a>owning element</a> always causes it to enter (or remain) in the
249249
<a>idle play state</a>.
250250
251-
# Keyframes # {#keyframes}
251+
<h2 id="keyframes">
252+
Declaring Keyframes</h2>
253+
254+
<h3 id="keyframe-processing">
255+
Processing Keyframes</h3>
252256
253257
For a given target (pseudo-)element, |element|, an animation name, |name|,
254258
and the position of the animation in |element|'s 'animation-name' list,
@@ -373,6 +377,12 @@ the behavior for some edge cases.
373377
We should verify what current implementations do and possible remove the
374378
requirement to iterate in reverse.
375379
380+
<h2 id="animation-definition">
381+
Declaring Animations</h2>
382+
383+
CSS Animations are defined by binding keyframes to an element
384+
using the 'animation' properties.
385+
376386
## The 'animation-duration' property ## {#animation-duration}
377387
378388
<pre class='propdef'>

0 commit comments

Comments
 (0)