Skip to content

Commit

Permalink
[web-animations-2] Fix bikeshed indentation errors (#10326)
Browse files Browse the repository at this point in the history
  • Loading branch information
flackr committed May 15, 2024
1 parent e2ab706 commit 8673caa
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions web-animations-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ with:
>
> 1. If |has finite timeline| is true,
> and the |animation|'s [=animation/current time=] is [=unresolved=]
> * Set the |auto align start time| flag to true.
> * Set the |auto align start time| flag to true.

Replace:

Expand Down Expand Up @@ -980,8 +980,8 @@ Add the following sentence:
<dl class=switch>

: If <em>any</em> of the following are true:
* |animation| does not have an [=animation/associated effect=], or
* |animation|'s [=animation/current time=] is an [=unresolved=] time value,
* |animation| does not have an [=animation/associated effect=], or
* |animation|'s [=animation/current time=] is an [=unresolved=] time value,
::
|animation|'s [=animation/progress=] is null.
: If |animation|'s [=associated effect end=] is zero,
Expand All @@ -996,10 +996,10 @@ Add the following sentence:
|animation|'s [=animation/progress=] is zero.
: Otherwise,
::
<blockquote>
<code><a for="animation">progress</a> = min(max([=animation/current time=] / |animation|'s [=associated effect end=], 0), 1)
</code>
</blockquote>
<blockquote>
<code><a for="animation">progress</a> = min(max([=animation/current time=] / |animation|'s [=associated effect end=], 0), 1)
</code>
</blockquote>

</dl>
</div>
Expand Down Expand Up @@ -3093,16 +3093,19 @@ partial interface KeyframeEffect {
:: Amend the procedure to create a new {{KeyframeEffect}} object with the
same properties as {{KeyframeEffect/KeyframeEffect(source)/source}} to include setting the
<a>iteration composite operation</a> from <var>source</var> on <var>effect</var>.

</div>

<div class="attributes">

: <dfn attribute for=KeyframeEffect>iterationComposite</dfn>
:: The <a>iteration composite operation</a> property of this
<a>keyframe effect</a> as specified by one of the
<a>IterationCompositeOperation</a> enumeration values.

On setting, sets the <a>iteration composite operation</a> property of this
<a>animation effect</a> to the provided value.

</div>

<h4 id="creating-a-new-keyframeeffect-object">Creating a new <code>KeyframeEffect</code> object</h4>
Expand Down Expand Up @@ -3280,6 +3283,7 @@ partial dictionary KeyframeAnimationOptions {
</pre>

<div class="members">

: <dfn dict-member for=KeyframeAnimationOptions>rangeStart</dfn>
:: If present and not "normal",
specifies the start of the <a>animation</a>’s [=animation attachment range=].
Expand All @@ -3298,6 +3302,7 @@ partial dictionary KeyframeAnimationOptions {
and {{TimelineRangeOffset/offset}};
a {{CSSNumericValue}} is interpreted as a {{TimelineRangeOffset}}
with that {{TimelineRangeOffset/offset}} and a null {{TimelineRangeOffset/rangeName}}.

</div>

Passing a {{CSSKeywordValue}} with a {{CSSKeywordValue/value}} other than "normal"
Expand Down

0 comments on commit 8673caa

Please sign in to comment.