Skip to content

Commit 9b3f676

Browse files
committed
[css-animations] Fix linking to SyntaxError
1 parent d107d5e commit 9b3f676

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

css-animations/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ Attributes</h4>
981981
respectively.
982982

983983
If <a attribute for="CSSKeyframeRule">keyText</a> is updated with an invalid keyframe selector,
984-
a <a spec="webidl">SyntaxError</a> exception must be thrown.
984+
a <a spec="webidl" exception>SyntaxError</a> exception must be thrown.
985985

986986
<dt><dfn>style</dfn>
987987
<dd>
@@ -1019,7 +1019,7 @@ Attributes</h4>
10191019

10201020
Setting this property to a value matching a
10211021
<a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keyword</a>
1022-
or any keyword defined for the 'animation-name' property will throw a <a spec="webidl">SyntaxError</a>
1022+
or any keyword defined for the 'animation-name' property will throw a <a spec="webidl" exception>SyntaxError</a>
10231023
exception.
10241024

10251025
<dt><dfn>cssRules</dfn>

css-animations/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ <h4 class="heading settled" data-level="6.2.2" id="interface-csskeyframerule-att
13331333
percentage values. The <span class="css">from</span> and <span class="css">to</span> keywords map to 0% and 100%,
13341334
respectively.
13351335
<p>If <a class="idl-code" data-link-type="attribute" href="#dom-csskeyframerule-keytext" id="ref-for-dom-csskeyframerule-keytext-2">keyText</a> is updated with an invalid keyframe selector,
1336-
a <a data-link-type="dfn">SyntaxError</a> exception must be thrown.</p>
1336+
a <a class="idl-code" data-link-type="exception" href="https://heycam.github.io/webidl/#syntaxerror">SyntaxError</a> exception must be thrown.</p>
13371337
<dt><dfn class="dfn-paneled idl-code" data-dfn-for="CSSKeyframeRule" data-dfn-type="attribute" data-export="" data-lt="style" id="dom-csskeyframerule-style">style<span class="dfn-panel" data-deco=""><b><a href="#dom-csskeyframerule-style">#dom-csskeyframerule-style</a></b><b>Referenced in:</b><span><a href="#ref-for-dom-csskeyframerule-style-1">6.2.1.
13381338
IDL Definition</a></span></span></dfn> , <span> of type <a data-link-type="idl-name" href="https://drafts.csswg.org/cssom-1/#cssstyledeclaration">CSSStyleDeclaration</a>, readonly</span>
13391339
<dd> This attribute represents the style associated with this keyframe.
@@ -1358,7 +1358,7 @@ <h4 class="heading settled" data-level="6.3.2" id="interface-csskeyframesrule-at
13581358
IDL Definition</a></span></span></dfn> , <span> of type <a data-link-type="idl-name" href="https://heycam.github.io/webidl/#idl-DOMString">DOMString</a></span>
13591359
<dd>
13601360
This attribute is the name of the keyframes, used by the <a class="property" data-link-type="propdesc" href="#propdef-animation-name" id="ref-for-propdef-animation-name-25">animation-name</a> property.
1361-
<p>Setting this property to a value matching a <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keyword</a> or any keyword defined for the <a class="property" data-link-type="propdesc" href="#propdef-animation-name" id="ref-for-propdef-animation-name-26">animation-name</a> property will throw a <a data-link-type="dfn">SyntaxError</a> exception.</p>
1361+
<p>Setting this property to a value matching a <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keyword</a> or any keyword defined for the <a class="property" data-link-type="propdesc" href="#propdef-animation-name" id="ref-for-propdef-animation-name-26">animation-name</a> property will throw a <a class="idl-code" data-link-type="exception" href="https://heycam.github.io/webidl/#syntaxerror">SyntaxError</a> exception.</p>
13621362
<dt><dfn class="dfn-paneled idl-code" data-dfn-for="CSSKeyframesRule" data-dfn-type="attribute" data-export="" data-lt="cssRules" id="dom-csskeyframesrule-cssrules">cssRules<span class="dfn-panel" data-deco=""><b><a href="#dom-csskeyframesrule-cssrules">#dom-csskeyframesrule-cssrules</a></b><b>Referenced in:</b><span><a href="#ref-for-dom-csskeyframesrule-cssrules-1">6.3.1.
13631363
IDL Definition</a></span></span></dfn> , <span> of type <a data-link-type="idl-name" href="https://drafts.csswg.org/cssom-1/#cssrulelist">CSSRuleList</a>, readonly</span>
13641364
<dd> This attribute gives access to the keyframes in the list.
@@ -1825,6 +1825,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
18251825
<a data-link-type="biblio">[WebIDL-1]</a> defines the following terms:
18261826
<ul>
18271827
<li><a href="https://heycam.github.io/webidl/#idl-DOMString">DOMString</a>
1828+
<li><a href="https://heycam.github.io/webidl/#syntaxerror">SyntaxError</a>
18281829
<li><a href="https://heycam.github.io/webidl/#dom-float">float</a>
18291830
</ul>
18301831
</ul>

0 commit comments

Comments
 (0)