- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 25 Jul 2008 23:01:39 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv7270 Modified Files: Overview.html Log Message: Make document.write() and document.writeln() support zero and multiple arguments. (credit: avk) (whatwg r1944) Index: Overview.html =================================================================== 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:02:12 UTC