[cssom] Make setProperty's value argument have [TreatNullAs=EmptyString]. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22266

Tue, 04 Jun 2013 20:27:07 +0200

author
Simon Pieters <simonp@opera.com>
date
Tue, 04 Jun 2013 20:27:07 +0200
changeset 8350
2929095f9309
parent 8349
91f63657ad72
child 8351
19cb06f0d5fb

[cssom] Make setProperty's value argument have [TreatNullAs=EmptyString]. https://www.w3.org/Bugs/Public/show_bug.cgi?id=22266

cssom/Overview.html file | annotate | diff | comparison | revisions
cssom/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom/Overview.html	Tue Jun 04 20:09:04 2013 +0200
     1.2 +++ b/cssom/Overview.html	Tue Jun 04 20:27:07 2013 +0200
     1.3 @@ -2157,11 +2157,11 @@
     1.4    getter DOMString <a href="#dom-cssstyledeclaration-item" title="dom-CSSStyleDeclaration-item">item</a>(unsigned long index);
     1.5    DOMString <a href="#dom-cssstyledeclaration-getpropertyvalue" title="dom-CSSStyleDeclaration-getPropertyValue">getPropertyValue</a>(DOMString property);
     1.6    DOMString <a href="#dom-cssstyledeclaration-getpropertypriority" title="dom-CSSStyleDeclaration-getPropertyPriority">getPropertyPriority</a>(DOMString property);
     1.7 -  void <a href="#dom-cssstyledeclaration-setproperty" title="dom-CSSStyleDeclaration-setProperty">setProperty</a>(DOMString property, DOMString value, <!--
     1.8 +  void <a href="#dom-cssstyledeclaration-setproperty" title="dom-CSSStyleDeclaration-setProperty">setProperty</a>(DOMString property, [TreatNullAs=EmptyString] DOMString value, <!--
     1.9    -->[TreatNullAs=EmptyString] optional DOMString priority = "");
    1.10    DOMString <a href="#dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty">removeProperty</a>(DOMString property);
    1.11    readonly attribute <a href="#cssrule">CSSRule</a>? <a href="#dom-cssstyledeclaration-length" title="dom-CSSStyleDeclaration-length">parentRule</a>;
    1.12 -  [TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;
    1.13 +           attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] -->
    1.14  };</pre>
    1.15  
    1.16  <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
    1.17 @@ -2270,7 +2270,7 @@
    1.18  <var>property</var>.</p>
    1.19  
    1.20  <pre class="idl">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> {
    1.21 -  [TreatNullAs=EmptyString] attribute DOMString _<var title="dom-CSSStyleDeclaration-attribute"><a href="#dom-cssstyledeclaration-attribute">attribute</a></var>;
    1.22 +           attribute DOMString _<var title="dom-CSSStyleDeclaration-attribute"><a href="#dom-cssstyledeclaration-attribute">attribute</a></var>;
    1.23  };</pre>
    1.24  
    1.25  <p>The <dfn id="dom-cssstyledeclaration-attribute" title="dom-CSSStyleDeclaration-attribute"><code><var title="">attribute</var></code></dfn> attribute, on getting, must return the result of invoking
     2.1 --- a/cssom/Overview.src.html	Tue Jun 04 20:09:04 2013 +0200
     2.2 +++ b/cssom/Overview.src.html	Tue Jun 04 20:27:07 2013 +0200
     2.3 @@ -2088,11 +2088,11 @@
     2.4    getter DOMString <span title=dom-CSSStyleDeclaration-item>item</span>(unsigned long index);
     2.5    DOMString <span title=dom-CSSStyleDeclaration-getPropertyValue>getPropertyValue</span>(DOMString property);
     2.6    DOMString <span title=dom-CSSStyleDeclaration-getPropertyPriority>getPropertyPriority</span>(DOMString property);
     2.7 -  void <span title=dom-CSSStyleDeclaration-setProperty>setProperty</span>(DOMString property, DOMString value, <!--
     2.8 +  void <span title=dom-CSSStyleDeclaration-setProperty>setProperty</span>(DOMString property, [TreatNullAs=EmptyString] DOMString value, <!--
     2.9    -->[TreatNullAs=EmptyString] optional DOMString priority = "");
    2.10    DOMString <span title=dom-CSSStyleDeclaration-removeProperty>removeProperty</span>(DOMString property);
    2.11    readonly attribute <span>CSSRule</span>? <span title=dom-CSSStyleDeclaration-length>parentRule</span>;
    2.12 -  [TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;
    2.13 +           attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] -->
    2.14  };</pre>
    2.15  
    2.16  <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
    2.17 @@ -2201,7 +2201,7 @@
    2.18  <var>property</var>.</p>
    2.19  
    2.20  <pre class=idl>partial interface <span>CSSStyleDeclaration</span> {
    2.21 -  [TreatNullAs=EmptyString] attribute DOMString _<var title=dom-CSSStyleDeclaration-attribute>attribute</var>;
    2.22 +           attribute DOMString _<var title=dom-CSSStyleDeclaration-attribute>attribute</var>;
    2.23  };</pre>
    2.24  
    2.25  <p>The <dfn title=dom-CSSStyleDeclaration-attribute><code><var title>attribute</var></code></dfn> attribute, on getting, must return the result of invoking

mercurial