You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><p>If <var>value</var> is the empty string, invoke <codetitle="dom-CSSStyleDeclaration-removeProperty"><ahref="#dom-cssstyledeclaration-removeproperty">removeProperty()</a></code>
2149
2148
with <var>property</var> as argument and terminate this algorithm.</li>
2150
-
<li><p>If <var>priority</var> is neither a valid priority nor the empty string terminate this algorithm.</li>
2149
+
<li><p>If <var>priority</var> is neither an <aclass="external" href="http://dom.spec.whatwg.org/#ascii-case-insensitive">ASCII case-insensitive</a> match for the string "<codetitle="">important</code>" nor
2150
+
the empty string terminate this algorithm.</li>
2151
2151
<li>
2152
2152
<p>If <ahref="#parse-a-css-value" title="parse a CSS value">parsing the <var>value</var></a> returns <code>null</code> terminate this algorithm.
2153
2153
<pclass="note"><var>value</var> can not include '<code>!important</code>'.</p>
2154
2154
</li>
2155
-
<li><p>Finally, set <var>property</var> to <var>value</var> with priority <var>priority</var> when <var>priority</var>
2156
-
is not the empty string. Otherwise set <var>property</var> to <var>value</var>.</li>
2155
+
<li><p>Finally, set <var>property</var> to <var>value</var> with the <ititle="">important</i> flag set if <vartitle="">priority</var> is not the empty string, and
2156
+
unset otherwise.</li>
2157
2157
</ol>
2158
2158
2159
2159
<p>The <dfnid="dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty"><code>removeProperty(<var>property</var>)</code></dfn> method must run these steps:</p>
<li><p>If <var>value</var> is the empty string, invoke <codetitle='dom-CSSStyleDeclaration-removeProperty'>removeProperty()</code>
2079
2078
with <var>property</var> as argument and terminate this algorithm.</p></li>
2080
-
<li><p>If <var>priority</var> is neither a valid priority nor the empty string terminate this algorithm.</p></li>
2079
+
<li><p>If <var>priority</var> is neither an <spandata-anolis-spec=dom>ASCII case-insensitive</span> match for the string "<codetitle>important</code>" nor
2080
+
the empty string terminate this algorithm.</p></li>
2081
2081
<li>
2082
2082
<p>If <spantitle='parse a CSS value'>parsing the <var>value</var></span> returns <code>null</code> terminate this algorithm.
2083
2083
<pclass='note'><var>value</var> can not include '<code>!important</code>'.</p>
2084
2084
</li>
2085
-
<li><p>Finally, set <var>property</var> to <var>value</var> with priority <var>priority</var> when <var>priority</var>
2086
-
is not the empty string. Otherwise set <var>property</var> to <var>value</var>.</p></li>
2085
+
<li><p>Finally, set <var>property</var> to <var>value</var> with the <ititle>important</i> flag set if <vartitle>priority</var> is not the empty string, and
2086
+
unset otherwise.</p></li>
2087
2087
</ol>
2088
2088
2089
2089
<p>The <dfntitle=dom-CSSStyleDeclaration-removeProperty><code>removeProperty(<var>property</var>)</code></dfn> method must run these steps:</p>
0 commit comments