Skip to content

Commit 1287c01

Browse files
committed
[web-animations-1] Fix a few more broken links
See w3c#8382.
1 parent adf457a commit 1287c01

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

web-animations-1/Overview.bs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4742,30 +4742,32 @@ To <dfn>update the timing properties of an animation effect</dfn>, |effect|,
47424742
from an {{EffectTiming}} or {{OptionalEffectTiming}} object, |input|, perform
47434743
the following steps:
47444744

4745-
1. If the {{EffectTiming/iterationStart}} member of |input| is <a>present</a>
4746-
and less than zero, <a>throw</a> a <span
4745+
1. If the {{EffectTiming/iterationStart}} member of |input|
4746+
<a for=map>exists</a> and is less than zero, <a>throw</a> a <span
47474747
class=exceptionname>TypeError</span> and abort this procedure.
47484748

47494749
Note: The reason for using a <span class=exceptionname>TypeError</span>
47504750
rather than a <span class=exceptionname>RangeError</span> is to mirror
47514751
the behavior of WebIDL's <a>[EnforceRange]</a> annotation should that
47524752
annotation be able to be used with floating-point values in the future.
47534753

4754-
1. If the {{EffectTiming/iterations}} member of |input| is <a>present</a>, and
4755-
less than zero or is the value <code class=esvalue>NaN</code>, <a>throw</a>
4756-
a <span class=exceptionname>TypeError</span> and abort this procedure.
4754+
1. If the {{EffectTiming/iterations}} member of |input| <a for=map>exists</a>,
4755+
and is less than zero or is the value <code class=esvalue>NaN</code>,
4756+
<a>throw</a> a <span class=exceptionname>TypeError</span>
4757+
and abort this procedure.
47574758

4758-
1. If the {{EffectTiming/duration}} member of |input| is <a>present</a>, and
4759-
less than zero or is the value <code class=esvalue>NaN</code>, <a>throw</a>
4760-
a <span class=exceptionname>TypeError</span> and abort this procedure.
4759+
1. If the {{EffectTiming/duration}} member of |input| <a for=map>exists</a>,
4760+
and is less than zero or is the value <code class=esvalue>NaN</code>,
4761+
<a>throw</a> a <span class=exceptionname>TypeError</span>
4762+
and abort this procedure.
47614763

4762-
1. If the {{EffectTiming/easing}} member of |input| is <a>present</a>
4764+
1. If the {{EffectTiming/easing}} member of |input| <a for=map>exists</a>
47634765
but cannot be parsed using the <<easing-function>> production
47644766
[[!CSS-EASING-1]], <a>throw</a> a <span class=exceptionname>TypeError</span>
47654767
and abort this procedure.
47664768

4767-
1. Assign each member <a>present</a> in |input| to the corresponding timing
4768-
property of |effect| as follows:
4769+
1. Assign each member that <a for=map>exists</a> in |input| to the
4770+
corresponding timing property of |effect| as follows:
47694771

47704772
* {{EffectTiming/delay}} &rarr; [=start delay=]
47714773
* {{EffectTiming/endDelay}} &rarr; [=end delay=]

0 commit comments

Comments
 (0)