Skip to content

Commit 49a13a1

Browse files
committed
make the definition a bit more clear
1 parent 43ecce2 commit 49a13a1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

cssom/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,11 +1858,11 @@ <h4 id=the-cssstyledeclaration><span class=secno>3.6.2. </span>The <code><a
18581858
<code>null</code> or the empty string abort this algorithm.
18591859

18601860
<li>
1861-
<p>If <var title="">value</var> <a href="#parse" title="CSS value
1862-
parsing">cannot be parsed</a> into a legal value abort this algorithm.</p>
1861+
<p>If <a href="#parse" title="CSS value parsing">parsing the <var
1862+
title="">value</var></a> returns "null" abort this algorithm.</p>
18631863

18641864
<p class=note><var title="">value</var> can not include
1865-
<code>!important</code> or <code>;</code>.</p>
1865+
<code>!important</code>.</p>
18661866

18671867
<li>
18681868
<p>Finally, set <var title="">property</var> to <var title="">value</var>

cssom/Overview.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,11 +1479,11 @@ <h4>The <code>CSSStyleDeclaration</code> Interface</h4>
14791479
<code>null</code> or the empty string abort this algorithm.</p></li>
14801480

14811481
<li>
1482-
<p>If <var title="">value</var> <span title="CSS value parsing">cannot be
1483-
parsed</span> into a legal value abort this algorithm.</p>
1484-
1482+
<p>If <span title="CSS value parsing">parsing the
1483+
<var title="">value</var></span> returns "null" abort this algorithm.</p>
1484+
14851485
<p class="note"><var title="">value</var> can not include
1486-
<code>!important</code> or <code>;</code>.</p>
1486+
<code>!important</code>.</p>
14871487
</li>
14881488

14891489
<li><p>Finally, set <var title="">property</var> to <var title="">value</var>

0 commit comments

Comments
 (0)