Skip to content

Commit 907252b

Browse files
author
Simon Pieters
committed
[cssom] Assume that 'float' is supported
1 parent 6dafef2 commit 907252b

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

cssom/Overview.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,6 +2161,7 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
21612161
-->[TreatNullAs=EmptyString] optional DOMString priority = "");
21622162
DOMString <a href="#dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty">removeProperty</a>(DOMString property);
21632163
readonly attribute <a href="#cssrule">CSSRule</a>? <a href="#dom-cssstyledeclaration-length" title="dom-CSSStyleDeclaration-length">parentRule</a>;
2164+
[TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;
21642165
};</pre>
21652166

21662167
<p>The object's <a class="external" href="http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of declarations in
@@ -2255,12 +2256,6 @@ <h4 id="the-cssstyledeclaration-interface"><span class="secno">6.5.1 </span>The
22552256
<p>The <dfn id="dom-cssstyledeclaration-parentrule" title="dom-CSSStyleDeclaration-parentRule"><code>parentRule</code></dfn> attribute must return the <code><a href="#cssrule">CSSrule</a></code> object the
22562257
<code><a href="#cssstyledeclaration">CSSStyleDeclaration</a></code> is object is associated with or null if it is not associated with a <code><a href="#cssrule">CSSrule</a></code> object.</p>
22572258

2258-
<p>If the user agent supports the 'float' CSS property, the following partial interface applies.</p>
2259-
2260-
<pre class="idl">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> {
2261-
[TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;
2262-
};</pre>
2263-
22642259
<p>The <dfn id="dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat"><code>cssFloat</code></dfn>
22652260
attribute, on getting, must return the result of invoking
22662261
<code title="dom-CSSStyleDeclaration-getPropertyValue"><a href="#dom-cssstyledeclaration-getpropertyvalue">getPropertyValue()</a></code> with

cssom/Overview.src.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,7 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
20922092
-->[TreatNullAs=EmptyString] optional DOMString priority = "");
20932093
DOMString <span title=dom-CSSStyleDeclaration-removeProperty>removeProperty</span>(DOMString property);
20942094
readonly attribute <span>CSSRule</span>? <span title=dom-CSSStyleDeclaration-length>parentRule</span>;
2095+
[TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;
20952096
};</pre>
20962097

20972098
<p>The object's <span data-anolis-spec=webidl>supported property indices</span> are the numbers in the range zero to one less than the number of declarations in
@@ -2186,12 +2187,6 @@ <h4>The <code title>CSSStyleDeclaration</code> Interface</h4>
21862187
<p>The <dfn title=dom-CSSStyleDeclaration-parentRule><code>parentRule</code></dfn> attribute must return the <code>CSSrule</code> object the
21872188
<code>CSSStyleDeclaration</code> is object is associated with or null if it is not associated with a <code>CSSrule</code> object.</p>
21882189

2189-
<p>If the user agent supports the 'float' CSS property, the following partial interface applies.</p>
2190-
2191-
<pre class=idl>partial interface <span>CSSStyleDeclaration</span> {
2192-
[TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;
2193-
};</pre>
2194-
21952190
<p>The <dfn title=dom-CSSStyleDeclaration-cssFloat><code>cssFloat</code></dfn>
21962191
attribute, on getting, must return the result of invoking
21972192
<code title=dom-CSSStyleDeclaration-getPropertyValue>getPropertyValue()</code> with

0 commit comments

Comments
 (0)