Skip to content

Commit 696a0b7

Browse files
committed
[web-animations-1] More fixups for publishing
1 parent 3f8ea40 commit 696a0b7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

web-animations-1/Overview.bs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ elem.getAnimations().filter(
328328
impractical to wait for such animations to run to completion.
329329
Rather, it is desirable to seek the animations to specific times.
330330

331-
<div class='example'><pre class='lang-javascript'>
331+
<div class='example'>
332+
<pre class='lang-javascript'>
332333
// Seek to the half-way point of an animation and check that the opacity is 50%
333334
elem.getAnimations().forEach(
334335
animation =&gt;
@@ -4655,7 +4656,8 @@ The second parameter, representing the list of keyframes, may
46554656
specify multiple properties. (See <a href="#processing-a-keyframes-argument"
46564657
section></a>.)
46574658

4658-
<div class='example'><pre class='lang-javascript'>
4659+
<div class='example'>
4660+
<pre class='lang-javascript'>
46594661
// Specify multiple properties at once
46604662
var effectA = new KeyframeEffect(elem, { left: '100px', top: '300px' }, 3000);
46614663

@@ -5324,22 +5326,22 @@ composition behavior are represented by the
53245326
enum CompositeOperation {"replace", "add", "accumulate"};
53255327
</pre>
53265328

5327-
: <dfn enum-value for=CompositeOperation><dfn enum-value for=CompositeOperationOrAuto>replace</dfn></dfn>
5329+
: <dfn enum-value for="CompositeOperation,CompositeOperationOrAuto">replace</dfn>
53285330
:: Corresponds to the <a
53295331
lt="composite operation replace">replace</a>
53305332
<a>composite operation</a> value such that
53315333
the <a>animation effect</a> overrides the <a>underlying value</a> it
53325334
is combined with.
53335335

5334-
: <dfn enum-value for=CompositeOperation><dfn enum-value for=CompositeOperationOrAuto>add</dfn></dfn>
5336+
: <dfn enum-value for="CompositeOperation,CompositeOperationOrAuto">add</dfn>
53355337
:: Corresponds to the <a
53365338
lt="composite operation add">add</a>
53375339
<a>composite operation</a> value such that
53385340
the <a>animation effect</a> is <a
53395341
lt="value addition">added</a> to the <a>underlying value</a>
53405342
with which it is combined.
53415343

5342-
: <dfn enum-value for=CompositeOperation><dfn enum-value for=CompositeOperationOrAuto>accumulate</dfn></dfn>
5344+
: <dfn enum-value for="CompositeOperation,CompositeOperationOrAuto">accumulate</dfn>
53435345
:: Corresponds to the <a
53445346
lt="composite operation accumulate">accumulate</a>
53455347
<a>composite operation</a> value such that

0 commit comments

Comments
 (0)