cssom/Overview.html

changeset 7972
f2b03be2c8d5
parent 7971
abdd9e2238b6
child 7974
8aa80407ee99
     1.1 --- a/cssom/Overview.html	Mon Apr 22 11:35:40 2013 +0200
     1.2 +++ b/cssom/Overview.html	Mon Apr 22 12:09:10 2013 +0200
     1.3 @@ -1979,12 +1979,28 @@
     1.4  </dl>
     1.5  
     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 -  <a href="#css-property-to-idl-attribute">CSS property to IDL attribute</a> 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 id="dom-cssstyledeclaration-cssfloat" 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 <a href="#css-property-to-idl-attribute">CSS property to IDL attribute</a> 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

mercurial