Skip to content

Commit f19cd78

Browse files
author
Simon Pieters
committed
[cssom] Editorial fixes around exceptions
1 parent 10f9517 commit f19cd78

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cssom/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@ <h4 id="the-cssrule-interface"><span class="secno">6.4.2 </span>The <code title=
18391839
object does not match the <code title="dom-CSSRule-type"><a href="#dom-cssrule-type">type</a></code> of
18401840
the current object
18411841
<a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> an
1842-
'<code class="external"><a href="http://dom.spec.whatwg.org/#invalidmodificationerror">InvalidModificationError</a></code>' exception.</li>
1842+
<code class="external"><a href="http://dom.spec.whatwg.org/#invalidmodificationerror">InvalidModificationError</a></code> exception.</li>
18431843
<li><p>Replace the current object with the new object.</li>
18441844
</ol>
18451845

@@ -2160,7 +2160,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
21602160
<p>The <dfn id="dom-cssstyledeclaration-setproperty" title="dom-CSSStyleDeclaration-setProperty"><code>setProperty(<var title="">property</var>, <var title="">value</var>, <var title="">priority</var>)</code></dfn> method must run these steps:</p>
21612161
<ol>
21622162
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is set, <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a>
2163-
an '<code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code>' and terminate these steps.</li>
2163+
an <code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code> exception and terminate these steps.</li>
21642164
<li><p>If <var title="">property</var> is not an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for a supported property that is defined to be case-insensitive,
21652165
terminate this algorithm.</li>
21662166
<li><p>If <var title="">property</var> is not a <a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for a supported property that is defined to be case-sensitive,
@@ -2180,7 +2180,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
21802180
<p>The <dfn id="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var title="">property</var>)</code></dfn> method must run these steps:</p>
21812181
<ol>
21822182
<li><p>If the <a href="#css-declaration-block-readonly-flag">CSS declaration block readonly flag</a> is set, <a class="external" href="http://dom.spec.whatwg.org/#concept-throw" title="concept-throw">throw</a> a
2183-
'<code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code>' and terminate these steps.</li>
2183+
<code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code> exception and terminate these steps.</li>
21842184
<li><p>Let <var title="">value</var> be the return value of invoking <code title="dom-CSSStyleDeclaration-getPropertyValue"><a href="#dom-cssstyledeclaration-getpropertyvalue">getPropertyValue()</a></code>
21852185
with <var title="">property</var> as argument.
21862186
<li><p>If <var title="">property</var> is an <a class="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for a property of a declaration in the

cssom/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ <h4>The <code title>CSSRule</code> Interface</h4>
17691769
object does not match the <code title='dom-CSSRule-type'>type</code> of
17701770
the current object
17711771
<span data-anolis-spec=dom title=concept-throw>throw</span> an
1772-
'<code data-anolis-spec=dom>InvalidModificationError</code>' exception.</li>
1772+
<code data-anolis-spec=dom>InvalidModificationError</code> exception.</li>
17731773
<li><p>Replace the current object with the new object.</p></li>
17741774
</ol>
17751775

@@ -2090,7 +2090,7 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
20902090
<p>The <dfn title=dom-CSSStyleDeclaration-setProperty><code>setProperty(<var title>property</var>, <var title>value</var>, <var title>priority</var>)</code></dfn> method must run these steps:</p>
20912091
<ol>
20922092
<li><p>If the <span>CSS declaration block readonly flag</span> is set, <span data-anolis-spec=dom title=concept-throw>throw</span>
2093-
an '<code data-anolis-spec=dom>NoModificationAllowedError</code>' and terminate these steps.</li>
2093+
an <code data-anolis-spec=dom>NoModificationAllowedError</code> exception and terminate these steps.</li>
20942094
<li><p>If <var title>property</var> is not an <span data-anolis-spec=dom>ASCII case-insensitive</span> match for a supported property that is defined to be case-insensitive,
20952095
terminate this algorithm.</p></li>
20962096
<li><p>If <var title>property</var> is not a <span data-anolis-spec=dom>case-sensitive</span> match for a supported property that is defined to be case-sensitive,
@@ -2110,7 +2110,7 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21102110
<p>The <dfn title=dom-CSSStyleDeclaration-removeProperty><code>removeProperty(<var title>property</var>)</code></dfn> method must run these steps:</p>
21112111
<ol>
21122112
<li><p>If the <span>CSS declaration block readonly flag</span> is set, <span data-anolis-spec=dom title=concept-throw>throw</span> a
2113-
'<code data-anolis-spec=dom>NoModificationAllowedError</code>' and terminate these steps.</li>
2113+
<code data-anolis-spec=dom>NoModificationAllowedError</code> exception and terminate these steps.</li>
21142114
<li><p>Let <var title>value</var> be the return value of invoking <code title='dom-CSSStyleDeclaration-getPropertyValue'>getPropertyValue()</code>
21152115
with <var title>property</var> as argument.
21162116
<li><p>If <var title>property</var> is an <span data-anolis-spec=dom>ASCII case-insensitive</span> match for a property of a declaration in the

0 commit comments

Comments
 (0)