hixie: Use union types in the IDL blocks where possible. (whatwg r7002)

hixie: Use union types in the IDL blocks where possible. (whatwg r7002)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5592&r2=1.5593&f=h
http://html5.org/tools/web-apps-tracker?from=7001&to=7002

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5592
retrieving revision 1.5593
diff -u -d -r1.5592 -r1.5593
--- Overview.html 16 Feb 2012 00:06:28 -0000 1.5592
+++ Overview.html 21 Feb 2012 20:50:48 -0000 1.5593
@@ -320,7 +320,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-16-february-2012">Editor's Draft 16 February 2012</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-21-february-2012">Editor's Draft 21 February 2012</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -467,7 +467,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 16 February 2012 Editor's Draft.
+  This specification is the 21 February 2012 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -7792,10 +7792,7 @@
            attribute unsigned long <a href="#dom-htmloptionscollection-length" title="dom-HTMLOptionsCollection-length">length</a>; // overrides inherited length
   legacycaller getter object? <a href="#dom-htmloptionscollection-nameditem" title="dom-HTMLOptionsCollection-namedItem">namedItem</a>(DOMString name); // overrides inherited namedItem()
   <a href="#dom-htmloptionscollection-setter" title="dom-HTMLOptionsCollection-setter">setter creator</a> void (unsigned long index, <a href="#htmloptionelement">HTMLOptionElement</a> option);
-  void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(<a href="#htmloptionelement">HTMLOptionElement</a> element, optional <a href="#htmlelement">HTMLElement</a>? before);
-  void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(<a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, optional <a href="#htmlelement">HTMLElement</a>? before);
-  void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(<a href="#htmloptionelement">HTMLOptionElement</a> element, long before);
-  void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>(<a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, long before);
+  void <a href="#dom-htmloptionscollection-add" title="dom-HTMLOptionsCollection-add">add</a>((<a href="#htmloptionelement">HTMLOptionElement</a> or <a href="#htmloptgroupelement">HTMLOptGroupElement</a>) element, optional (<a href="#htmlelement">HTMLElement</a> or long)? before = null);
   void <a href="#dom-htmloptionscollection-remove" title="dom-HTMLOptionsCollection-remove">remove</a>(long index);
            attribute long <a href="#dom-htmloptionscollection-selectedindex" title="dom-HTMLOptionsCollection-selectedIndex">selectedIndex</a>;
 };</pre><dl class="domintro"><dt><var title="">collection</var> . <code title="dom-HTMLOptionsCollection-length"><a href="#dom-htmloptionscollection-length">length</a></code> [ = <var title="">value</var> ]</dt>
@@ -38883,10 +38880,7 @@
            attribute unsigned long <a href="#dom-select-length" title="dom-select-length">length</a>;
   getter <a href="#element">Element</a> <a href="#dom-select-item" title="dom-select-item">item</a>(unsigned long index);
   object <a href="#dom-select-nameditem" title="dom-select-namedItem">namedItem</a>(DOMString name);
-  void <a href="#dom-select-add" title="dom-select-add">add</a>(<a href="#htmloptionelement">HTMLOptionElement</a> element, optional <a href="#htmlelement">HTMLElement</a>? before);
-  void <a href="#dom-select-add" title="dom-select-add">add</a>(<a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, optional <a href="#htmlelement">HTMLElement</a>? before);
-  void <a href="#dom-select-add" title="dom-select-add">add</a>(<a href="#htmloptionelement">HTMLOptionElement</a> element, long before);
-  void <a href="#dom-select-add" title="dom-select-add">add</a>(<a href="#htmloptgroupelement">HTMLOptGroupElement</a> element, long before);
+  void <a href="#dom-select-add" title="dom-select-add">add</a>((<a href="#htmloptionelement">HTMLOptionElement</a> or <a href="#htmloptgroupelement">HTMLOptGroupElement</a>) element, optional (<a href="#htmlelement">HTMLElement</a> or long)? before = null);
   void <a href="#dom-select-remove" title="dom-select-remove">remove</a>(long index);
   <a href="#dom-htmloptionscollection-setter" title="dom-HTMLOptionsCollection-setter">setter creator</a> void (unsigned long index, <a href="#htmloptionelement">HTMLOptionElement</a> option);

Received on Tuesday, 21 February 2012 20:51:18 UTC