8000 Editorial: fixed some bikeshed errors and warnings · w3c/csswg-drafts@3b3a72a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b3a72a

Browse files
ydanivbirtles
authored andcommitted
Editorial: fixed some bikeshed errors and warnings
1 parent 8b71e72 commit 3b3a72a

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

web-animations-2/Overview.bs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ urlPrefix: https://drafts.csswg.org/web-animations-1/; type: dfn; spec: web-anim
114114
text: iteration progress
115115
text: iteration start
116116
text: keyframe effect
117+
text: monotonically increasing
117118
text: not animatable
118119
text: overall progress
119120
text: pending pause task
@@ -227,8 +228,8 @@ Add:
227228

228229
Update the note on the first step of the algorithm by adding the following bullet:
229230

230-
> * Updating the [=animation trigger state|state=] of [=animation triggers=]
231-
> by running the [=updating animation trigger state=] procedure.
231+
> * Updating the [=animation trigger state|state=] of [=animation triggers=]
232+
> by running the [=updating animation trigger state=] procedure.
232233

233234
<h3 id="animations">Animations</h3>
234235

@@ -885,11 +886,11 @@ Replace:
885886
>
886887
> : If |has finite timeline| is true,
887888
> ::
888-
> Set |animation|'s [=start time=] to |seek time|.
889+
> Set |animation|'s [=animation/start time=] to |seek time|.
889890
>
890891
> : Otherwise,
891892
> ::
892-
> Set |animation|'s [=hold time=] to |seek time|.
893+
> Set |animation|'s [=animation/hold time=] to |seek time|.
893894
>
894895
> </div>
895896

@@ -1062,8 +1063,6 @@ Finally, the description of the [=end delay=] is updated to:
10621063
> An <a>end delay</a> may also be specified but is primarily only of
10631064
> use when sequencing animations such as by using a <a>sequence effect</a>.
10641065

1065-
</div>
1066-
10671066
The normative description is updated as follows:
10681067

10691068
> The lower bound of the <a>active interval</a> is defined by the
@@ -1508,7 +1507,7 @@ of an <a>animation effect</a> is as follows:
15081507
This differs from the [=playback rate=] on an <a>animation</a>.
15091508
Setting a [=playback rate=] on
15101509
an <a>animation</a> to a negative value at a moment before the
1511-
<a>animation</a>'s </a>associated effect</a> has begun, will result in the
1510+
<a>animation</a>'s <a>associated effect</a> has begun, will result in the
15121511
<a>associated effect</a> never playing.
15131512

15141513
* Setting the [=animation effect/playback rate=]
@@ -1688,13 +1687,13 @@ Update the definition to include the additional steps to for each phase:
16881687
> and that parent group is in the <a>before
16891688
> phase</a>, and the <a>fill mode</a> of this animation effect
16901689
> is <span class="prop-value">none</span> or <span
1691-
> class="prop-value">forwards</a>,
1690+
> class="prop-value">forwards</span>,
16921691
> :: Return an <a>unresolved</a> <a>time value</a>.
16931692
> : If the animation effect has a <a>parent group</a>
16941693
> and that parent group is in the <a>after
16951694
> phase</a>, and the <a>fill mode</a> of this animation effect
16961695
> is <span class="prop-value">none</span> or <span
1697-
> class="prop-value">backwards</a>,
1696+
> class="prop-value">backwards</span>,
16981697
> :: Return an <a>unresolved</a> <a>time value</a>.
16991698
> : Otherwise,
17001699
> :: Return the result of evaluating
@@ -1821,7 +1820,6 @@ A simple example is illustrated below.
18211820
When a <a>group effect</a> is <a>directly associated with
18221821
an animation</a>, the <a>animation effect</a> associated with the
18231822
<a>group effect</a> can be seeked, paused, and stopped as a unit.
1824-
</p>
18251823

18261824
</div>
18271825

@@ -2486,7 +2484,7 @@ Depending on its most recent [=animation trigger state|state=] |state|, the
24862484

24872485
1. Let the [=animation trigger|trigger=] of |animation| be |new trigger|.
24882486

2489-
1. Run the procedure to [=updating animation trigger state=] for |trigger|.
2487+
1. Run the procedure to [=updating animation trigger state=] for |new trigger|.
24902488
</div>
24912489

24922490
### Setting the timeline of an Animation Trigger ### {#setting-trigger-timeline}
@@ -2527,7 +2525,7 @@ Depending on its most recent [=animation trigger state|state=] |state|, the
25272525
::
25282526

25292527
<dl class=switch>
2530-
: If |type| is 'animation-trigger-type/once'' and |did trigger| flag is true,
2528+
: If |type| is ''animation-trigger-type/once'' and |did trigger| flag is true,
25312529
::
25322530
Then abort this procedure.
25332531

@@ -3157,7 +3155,7 @@ a {{EffectTiming}} object.</p>
31573155
The <dfn lt="next sibling not included">next sibling of
31583156
<var>effect</var> not included</dfn> in a set of <a>animation
31593157
effects</a>, <var>effects</var> is determined using the following
3160-
steps:</p>
3158+
steps:
31613159

31623160
1. Let <var>context effect</var> be <var>effect</var>.
31633161
2. While the <a>next sibling</a> of <var>context effect</var> is not
@@ -3192,7 +3190,7 @@ To <dfn lt="insert children">insert</dfn> a series of zero or
31923190
more <a>animation effects</a>, <var>effects</var>, to
31933191
<var>parent</var>'s list of <a>child effects</a> before
31943192
<var>reference child</var> perform the following steps for each
3195-
<var>effect</var> in <var>effects</var>:</p>
3193+
<var>effect</var> in <var>effects</var>:
31963194

31973195
1. <a lt="remove an animation effect">Remove</a> <var>effect</var>
31983196
from its parent.
@@ -3464,10 +3462,10 @@ with which it is associated is updated.
34643462

34653463
<h3 id="the-animatable-interface">The <code>Animatable</code> interface</h3>
34663464

3467-
<div class="methods">
3465+
<div dfn-type=method class=methods
3466+
dfn-for="Animatable">
34683467

3469-
: <dfn method for=Animatable lt="getAnimations()">
3470-
sequence&lt;Animation&gt; getAnimations()</dfn>
3468+
: <dfn lt="getAnimations(options)">sequence&lt;Animation&gt; getAnimations(|options|)</dfn>
34713469
:: Add:
34723470

34733471
> If this object is the [=effect target/target element=] of two or more
@@ -3489,7 +3487,7 @@ is modified to add the following members:
34893487
: <dfn lt="animate(keyframes, options)">Animation animate(|keyframes|, |options|)</dfn>
34903488
:: Amend step 6 of the procedure as follows:
34913489

3492-
6. If |options| is a {{KeyframeAnimationOptions}} object,
3490+
6. If |options| is a {{KeyframeAnimationOptions}} object,
34933491
let |trigger| be the <code>trigger</code> member of |options|
34943492
or, if <code>trigger</code> member of |options| is missing,
34953493
a newly created {{AnimationTrigger}} with an empty
@@ -3498,6 +3496,8 @@ is modified to add the following members:
34983496
7. Run the procedure to [=setting a trigger of an animation=] for |animation|
34993497
with the |auto-rewind| flag set to true.
35003498

3499+
</div>
3500+
35013501
The {{KeyframeAnimationOptions}} dictionary interface
35023502
is modified to add the following members:
35033503

@@ -3537,7 +3537,7 @@ partial dictionary KeyframeAnimationOptions {
35373537

35383538
: <dfn dict-member for=KeyframeAnimationOptions>trigger</dfn>
35393539
:: If present, specifies the <a>animation</a>’s associated [=animation trigger=]
3540-
by running the procedure of [=setting a trigger of an animation=].
3540+
by running the procedure of [=setting a trigger of an animation=].
35413541

35423542
</div>
35433543

0 commit comments

Comments
 (0)
0