spec/Overview.html 1.1135 1944 Make document.write() and document.write

Make document.write() and document.writeln() support zero and multiple
arguments. (credit: avk) (whatwg r1944)

HTMLDocument
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1135.html#htmldocument
document.writeln(...)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1135.html#document.writeln...
3.7.1 Controlling the input stream
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1135.html#controlling

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1134&r2=1.1135&f=h
http://html5.org/tools/web-apps-tracker?from=1943&to=1944

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1134
retrieving revision 1.1135
diff -u -d -r1.1134 -r1.1135
--- Overview.html 25 Jul 2008 22:30:00 -0000 1.1134
+++ Overview.html 25 Jul 2008 23:01:36 -0000 1.1135
@@ -6978,8 +6978,8 @@
   <a href="#window">Window</a> <a href="#open" title=dom-document-open>open</a>(in DOMString url, in DOMString name, in DOMString features);
   <a href="#window">Window</a> <a href="#open" title=dom-document-open>open</a>(in DOMString url, in DOMString name, in DOMString features, in boolean replace);
   void <a href="#close0" title=dom-document-close>close</a>();
-  void <a href="#document.write" title=dom-document-write>write</a>(in DOMString text);
-  void <a href="#document.writeln..." title=dom-document-writeln>writeln</a>(in DOMString text);
+  void <a href="#document.write" title=dom-document-write>write</a>([Variadic] in DOMString text);
+  void <a href="#document.writeln..." title=dom-document-writeln>writeln</a>([Variadic] in DOMString text);
 
   // <a href="#user-interaction">user interaction</a>
   <a href="#selection1">Selection</a> <a href="#getselection0" title=dom-document-getSelection>getSelection</a>();
@@ -8614,9 +8614,8 @@
    title=dom-document-writeln><code>document.writeln(...)</code></dfn> method
    must call the <code title=dom-document-write><a
    href="#document.write">document.write()</a></code> method with the same
-   argument(s), and then call the <code title=dom-document-write><a
-   href="#document.write">document.write()</a></code> method with, as its
-   argument, a string consisting of a single line feed character (U+000A).
+   argument(s), plus an extra argument consisting of a string containing a
+   single line feed character (U+000A).
 
   <h4 id=controlling><span class=secno>3.7.1 </span>Controlling the input
    stream</h4>

Received on Friday, 25 July 2008 23:05:29 UTC