Tue, 16 Sep 2014 21:40:44 +0200
[cssom] Use [TreatNullAs=EmptyString] on CSSStyleDeclaration's properties. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=26817
cssom/Overview.html | file | annotate | diff | comparison | revisions | |
cssom/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom/Overview.html Tue Sep 16 21:32:02 2014 +0200 1.2 +++ b/cssom/Overview.html Tue Sep 16 21:40:44 2014 +0200 1.3 @@ -2353,7 +2353,7 @@ 1.4 void <a href="#dom-cssstyledeclaration-setpropertypriority" title="dom-CSSStyleDeclaration-setPropertyPriority">setPropertyPriority</a>(DOMString property, [TreatNullAs=EmptyString] DOMString priority); 1.5 DOMString <a href="#dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty">removeProperty</a>(DOMString property); 1.6 readonly attribute <a href="#cssrule">CSSRule</a>? <a href="#dom-cssstyledeclaration-parentrule" title="dom-CSSStyleDeclaration-parentRule">parentRule</a>; 1.7 - attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] --> 1.8 + [TreatNullAs=EmptyString] attribute DOMString <a href="#dom-cssstyledeclaration-cssfloat" title="dom-CSSStyleDeclaration-cssFloat">cssFloat</a>; 1.9 };</pre> 1.10 1.11 <p>The object's <a class="external" data-anolis-spec="webidl" href="http://heycam.github.io/webidl/#dfn-supported-property-indices">supported property indices</a> are the numbers in the range zero to one less than the number of 1.12 @@ -2559,7 +2559,7 @@ 1.13 <var>property</var>.</p> 1.14 1.15 <pre class="idl extract">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> { 1.16 - attribute DOMString _<a href="#dom-cssstyledeclaration-camel-cased-attribute" title="dom-CSSStyleDeclaration-camel-cased-attribute"><var>camel-cased attribute</var></a>; 1.17 + [TreatNullAs=EmptyString] attribute DOMString _<a href="#dom-cssstyledeclaration-camel-cased-attribute" title="dom-CSSStyleDeclaration-camel-cased-attribute"><var>camel-cased attribute</var></a>; 1.18 };</pre> 1.19 1.20 <p>The <dfn id="dom-cssstyledeclaration-camel-cased-attribute" title="dom-CSSStyleDeclaration-camel-cased-attribute"><code><var>camel-cased attribute</var></code></dfn> attribute, on getting, must return the 1.21 @@ -2580,7 +2580,7 @@ 1.22 the following partial interface applies where <var>dashed attribute</var> is <var>property</var>.</p> 1.23 1.24 <pre class="idl extract">partial interface <a href="#cssstyledeclaration">CSSStyleDeclaration</a> { 1.25 - attribute DOMString _<a href="#dom-cssstyledeclaration-dashed-attribute" title="dom-CSSStyleDeclaration-dashed-attribute"><var>dashed attribute</var></a>; 1.26 + [TreatNullAs=EmptyString] attribute DOMString _<a href="#dom-cssstyledeclaration-dashed-attribute" title="dom-CSSStyleDeclaration-dashed-attribute"><var>dashed attribute</var></a>; 1.27 };</pre> 1.28 1.29 <p>The <dfn id="dom-cssstyledeclaration-dashed-attribute" title="dom-CSSStyleDeclaration-dashed-attribute"><code><var>dashed attribute</var></code></dfn> attribute, on getting, must return the
2.1 --- a/cssom/Overview.src.html Tue Sep 16 21:32:02 2014 +0200 2.2 +++ b/cssom/Overview.src.html Tue Sep 16 21:40:44 2014 +0200 2.3 @@ -2270,7 +2270,7 @@ 2.4 void <span title=dom-CSSStyleDeclaration-setPropertyPriority>setPropertyPriority</span>(DOMString property, [TreatNullAs=EmptyString] DOMString priority); 2.5 DOMString <span title=dom-CSSStyleDeclaration-removeProperty>removeProperty</span>(DOMString property); 2.6 readonly attribute <span>CSSRule</span>? <span title=dom-CSSStyleDeclaration-parentRule>parentRule</span>; 2.7 - attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>;<!-- setProperty's value arg has [TreatNullAs=EmptyString] --> 2.8 + [TreatNullAs=EmptyString] attribute DOMString <span title=dom-CSSStyleDeclaration-cssFloat>cssFloat</span>; 2.9 };</pre> 2.10 2.11 <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 2.12 @@ -2476,7 +2476,7 @@ 2.13 <var>property</var>.</p> 2.14 2.15 <pre class="idl extract">partial interface <span>CSSStyleDeclaration</span> { 2.16 - attribute DOMString _<span title=dom-CSSStyleDeclaration-camel-cased-attribute><var>camel-cased attribute</var></span>; 2.17 + [TreatNullAs=EmptyString] attribute DOMString _<span title=dom-CSSStyleDeclaration-camel-cased-attribute><var>camel-cased attribute</var></span>; 2.18 };</pre> 2.19 2.20 <p>The <dfn title=dom-CSSStyleDeclaration-camel-cased-attribute><code><var>camel-cased attribute</var></code></dfn> attribute, on getting, must return the 2.21 @@ -2497,7 +2497,7 @@ 2.22 the following partial interface applies where <var>dashed attribute</var> is <var>property</var>.</p> 2.23 2.24 <pre class="idl extract">partial interface <span>CSSStyleDeclaration</span> { 2.25 - attribute DOMString _<span title=dom-CSSStyleDeclaration-dashed-attribute><var>dashed attribute</var></span>; 2.26 + [TreatNullAs=EmptyString] attribute DOMString _<span title=dom-CSSStyleDeclaration-dashed-attribute><var>dashed attribute</var></span>; 2.27 };</pre> 2.28 2.29 <p>The <dfn title=dom-CSSStyleDeclaration-dashed-attribute><code><var>dashed attribute</var></code></dfn> attribute, on getting, must return the