1.1 --- a/cssom/cssom-source Mon Apr 22 11:35:40 2013 +0200 1.2 +++ b/cssom/cssom-source Mon Apr 22 12:09:10 2013 +0200 1.3 @@ -1535,12 +1535,28 @@ 1.4 1.5 <!--{@idl(CSSStyleDeclaration)}--> 1.6 1.7 - <p>For each CSS property <var>property</var> that the user agent supports, the following 1.8 - partial interface applies where <var>attribute</var> is obtained by running the 1.9 - <span>CSS property to IDL attribute</span> algorithm for <var>property</var>. 1.10 - 1.11 + <p>If the user agent supports the 'float' CSS property, the following partial interface 1.12 + applies. 1.13 + 1.14 <pre class=idl>partial interface CSSStyleDeclaration { 1.15 - attribute DOMString <var>attribute</var>; 1.16 + [TreatNullAs=EmptyString] attribute DOMString cssFloat; 1.17 +};</pre> 1.18 + 1.19 + <p>The <code><dfn title=dom-CSSStyleDeclaration-cssFloat>cssFloat</dfn></code> 1.20 + attribute, on getting, must return the result of invoking 1.21 + <code title=dom-CSSStyleDeclaration-getPropertyValue>getPropertyValue()</code> with 1.22 + "float" as argument. On setting, the attribute must invoke 1.23 + <code title=dom-CSSStyleDeclaration-setPropertyValue>setPropertyValue()</code> with 1.24 + "float" as first argument, as second argument the given value, and no third argument. 1.25 + Any exceptions thrown must be re-thrown. 1.26 + 1.27 + <p>For each CSS property <var>property</var> that the user agent supports, except for 1.28 + the 'float' property, the following partial interface applies where <var>attribute</var> 1.29 + is obtained by running the <span>CSS property to IDL attribute</span> algorithm for 1.30 + <var>property</var>. 1.31 + 1.32 + <pre class=idl>partial interface CSSStyleDeclaration { 1.33 + [TreatNullAs=EmptyString] attribute DOMString <var>attribute</var>; 1.34 };</pre> 1.35 1.36 <p>Getting the <var>attribute</var> attribute must return the result of invoking