Tue, 28 May 2013 15:46:12 +0200
[cssom] Use default value in IDL for CSSStyleDeclaration#setProperty's third argument. Also fix placement of [TreatNullAs=EmptyString]. http://www.w3.org/mid/4FA8AA5E.6020700@mit.edu
cssom/Overview.html | file | annotate | diff | comparison | revisions | |
cssom/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/cssom/Overview.html Tue May 28 15:39:52 2013 +0200 1.2 +++ b/cssom/Overview.html Tue May 28 15:46:12 2013 +0200 1.3 @@ -2079,7 +2079,7 @@ 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, optional [TreatNullAs=EmptyString] DOMString priority); 1.8 + void <a href="#dom-cssstyledeclaration-setproperty" title="dom-CSSStyleDeclaration-setProperty">setProperty</a>(DOMString property, DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = ""); 1.9 DOMString <a href="#dom-cssstyledeclaration-removeproperty" title="dom-CSSStyleDeclaration-removeProperty">removeProperty</a>(DOMString property); 1.10 readonly attribute <a href="#cssrule">CSSRule</a>? <a href="#dom-cssstyledeclaration-length" title="dom-CSSStyleDeclaration-length">parentRule</a>; 1.11 };</pre> 1.12 @@ -2147,7 +2147,6 @@ 1.13 terminate this algorithm.</li> 1.14 <li><p>If <var>value</var> is the empty string, invoke <code title="dom-CSSStyleDeclaration-removeProperty"><a href="#dom-cssstyledeclaration-removeproperty">removeProperty()</a></code> 1.15 with <var>property</var> as argument and terminate this algorithm.</li> 1.16 - <li><p>If the <var>priority</var> argument has been omitted let <var>priority</var> be the empty string.</li> 1.17 <li><p>If <var>priority</var> is neither a valid priority nor the empty string terminate this algorithm.</li> 1.18 <li> 1.19 <p>If <a href="#parse-a-css-value" title="parse a CSS value">parsing the <var>value</var></a> returns <code>null</code> terminate this algorithm.
2.1 --- a/cssom/Overview.src.html Tue May 28 15:39:52 2013 +0200 2.2 +++ b/cssom/Overview.src.html Tue May 28 15:46:12 2013 +0200 2.3 @@ -2009,7 +2009,7 @@ 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, optional [TreatNullAs=EmptyString] DOMString priority); 2.8 + void <span title=dom-CSSStyleDeclaration-setProperty>setProperty</span>(DOMString property, DOMString value, [TreatNullAs=EmptyString] optional DOMString priority = ""); 2.9 DOMString <span title=dom-CSSStyleDeclaration-removeProperty>removeProperty</span>(DOMString property); 2.10 readonly attribute <span>CSSRule</span>? <span title=dom-CSSStyleDeclaration-length>parentRule</span>; 2.11 };</pre> 2.12 @@ -2077,7 +2077,6 @@ 2.13 terminate this algorithm.</p></li> 2.14 <li><p>If <var>value</var> is the empty string, invoke <code title='dom-CSSStyleDeclaration-removeProperty'>removeProperty()</code> 2.15 with <var>property</var> as argument and terminate this algorithm.</p></li> 2.16 - <li><p>If the <var>priority</var> argument has been omitted let <var>priority</var> be the empty string.</p></li> 2.17 <li><p>If <var>priority</var> is neither a valid priority nor the empty string terminate this algorithm.</p></li> 2.18 <li> 2.19 <p>If <span title='parse a CSS value'>parsing the <var>value</var></span> returns <code>null</code> terminate this algorithm.