Skip to content

Commit 883ddba

Browse files
author
Simon Pieters
committed
[cssom] (editorial) markup typos
1 parent fdcfce4 commit 883ddba

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

cssom/Overview.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,9 +1975,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
19751975
<dt class="method" id="widl-CSSStyleDeclaration-removeProperty-DOMString-DOMString-property">
19761976
<code>removeProperty</code> (<span class="idlParam"><span class="idlParamType"><a>DOMString</a></span> <span class="idlParamName">property</span></span>), returns <span class="idlMethType"><a>DOMString</a></span></dt>
19771977
<dd>
1978-
<p>The <code>removeProperty</code> operation must run these steps:</p> <ol> <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 '<code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code>' and terminate these steps.</li> <li><p>Let <var>value</var> be the return value of invoking <span title="dom-CSSStyleDeclaration-getPropertyValue">getPropertyValue()</span> with <var>property</var> as argument.
1979-
<li><p>If <var>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 <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>, and that property is defined to be a case-insensitive property, remove the declaration.</li> <li><p>If <var>property</var> is a <a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for a property of a declaration in the <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>, and that property is defined to be a case-sensitive property, remove the declaration.</li> <li><p>Return <var>value</var>.
1980-
</ol></dd>
1978+
<p>The <code>removeProperty</code> operation must run these steps:</p> <ol> <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 '<code class="external"><a href="http://dom.spec.whatwg.org/#nomodificationallowederror">NoModificationAllowedError</a></code>' and terminate these steps.</li> <li><p>Let <var>value</var> be the return value of invoking <code title="dom-CSSStyleDeclaration-getPropertyValue">getPropertyValue()</code> with <var>property</var> as argument. <li><p>If <var>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 <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>, and that property is defined to be a case-insensitive property, remove the declaration.</li> <li><p>If <var>property</var> is a <a class="external" href="http://dom.spec.whatwg.org/#case-sensitive">case-sensitive</a> match for a property of a declaration in the <a href="#css-declaration-block-declarations">CSS declaration block declarations</a>, and that property is defined to be a case-sensitive property, remove the declaration.</li> <li><p>Return <var>value</var>. </ol></dd>
19811979
</dl>
19821980

19831981

cssom/idl/CSSStyleDeclaration.idl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ interface CSSStyleDeclaration {
103103
<ol>\
104104
<li><p>If the <span>CSS declaration block readonly flag</span> is set, <span data-anolis-spec=dom title=concept-throw>throw</span> a\
105105
'<code data-anolis-spec=dom>NoModificationAllowedError</code>' and terminate these steps.</li>\
106-
<li><p>Let <var>value</var> be the return value of invoking <span title='dom-CSSStyleDeclaration-getPropertyValue'>getPropertyValue()</span>\
107-
with <var>property</var> as argument.
106+
<li><p>Let <var>value</var> be the return value of invoking <code title='dom-CSSStyleDeclaration-getPropertyValue'>getPropertyValue()</code>\
107+
with <var>property</var> as argument.\
108108
<li><p>If <var>property</var> is an <span data-anolis-spec=dom>ASCII case-insensitive</span> match for a property of a declaration in the\
109109
<span>CSS declaration block declarations</span>, and that property is defined to be a case-insensitive property, remove the declaration.</p></li>\
110110
<li><p>If <var>property</var> is a <span data-anolis-spec=dom>case-sensitive</span> match for a property of a declaration in the\
111111
<span>CSS declaration block declarations</span>, and that property is defined to be a case-sensitive property, remove the declaration.</p></li>\
112-
<li><p>Return <var>value</var>.
112+
<li><p>Return <var>value</var>.\
113113
</ol>"
114114
]
115115
DOMString removeProperty(DOMString property);

0 commit comments

Comments
 (0)