hixie: Mention the document.open() magic in document.write()'s domintro. (whatwg r4755)

hixie: Mention the document.open() magic in document.write()'s domintro.
(whatwg r4755)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3802&r2=1.3803&f=h
http://html5.org/tools/web-apps-tracker?from=4754&to=4755

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3802
retrieving revision 1.3803
diff -u -d -r1.3802 -r1.3803
--- Overview.html 17 Feb 2010 07:39:13 -0000 1.3802
+++ Overview.html 17 Feb 2010 08:48:48 -0000 1.3803
@@ -8715,6 +8715,12 @@
     <p>This method throws an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception
     when invoked on <a href="#xml-documents">XML documents</a>.</p>
 
+    <p>Unless called from the body of a <code><a href="#script">script</a></code> element
+    while the document is being parsed, or called on a script-created
+    document, calling this method will clear the current page first,
+    as if <code title="dom-document-open"><a href="#dom-document-open">document.open()</a></code> had
+    been called.</p>
+
    </dd>
 
   </dl><div class="impl">

Received on Wednesday, 17 February 2010 08:49:28 UTC