Skip to content

Commit 552e237

Browse files
[web-animations-2] Cleanup of markup formatting. (#9209)
Fix typo and formatting glitches with switch.
1 parent 4d5f641 commit 552e237

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

web-animations-2/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ follows:
288288
:: Set |previous progress| = <code>|previous current time| /
289289
[=end time=]</code>
290290
</dl>
291+
291292
1. Let |from finite timeline| be true if |old timeline| is not null and
292293
not [=monotonically increasing timeline|monotonically increasing=].
293294
1. Let |to finite timeline| be true if |timeline| is not null and not
@@ -985,7 +986,7 @@ For an <a>animation effect</a>, the <dfn>inherited time</dfn> at
985986
a given moment is based on the first matching condition from the
986987
following:
987988

988-
<div class='switch'>
989+
<dl class='switch'>
989990

990991
: If the <a>animation effect</a> has a <a>parent group</a>,
991992
:: the inherited time is the <a>parent group</a>'s current
@@ -997,7 +998,7 @@ following:
997998
: Otherwise,
998999
:: the inherited time is <a>unresolved</a>.
9991000

1000-
</div>
1001+
</dl>
10011002

10021003
The <dfn>local time</dfn> of an <a>animation effect</a> is the
10031004
<a>animation effect</a>'s <a>inherited time</a> minus its <a
@@ -2848,7 +2849,8 @@ interface SequenceEffect : GroupEffect {
28482849
};
28492850
</pre>
28502851

2851-
<div class="contructors">
2852+
<div class="constructors">
2853+
28522854
: <dfn constructor for=SequenceEffect lt="SequenceEffect(children, timing)">constructor (sequence&lt;AnimationEffect&gt;? children,
28532855
optional (unrestricted double or EffectTiming) timing)</dfn>
28542856
:: The meaning and handling of each of the parameters in this

0 commit comments

Comments
 (0)