[html5] r3700 - [e] (0) Update domintro bit about document.open()'s replace argument.

whatwg at whatwg.org whatwg at whatwg.org
Sat Aug 29 16:33:08 PDT 2009


Author: ianh
Date: 2009-08-29 16:33:07 -0700 (Sat, 29 Aug 2009)
New Revision: 3700

Modified:
   index
   source
Log:
[e] (0) Update domintro bit about document.open()'s replace argument.

Modified: index
===================================================================
--- index	2009-08-29 23:28:48 UTC (rev 3699)
+++ index	2009-08-29 23:33:07 UTC (rev 3700)
@@ -9394,11 +9394,10 @@
     content passed to <code title=dom-document-write><a href=#dom-document-write>document.write()</a></code> will be parsed
     as plain text.</p>
 
-    <p>If the <var title="">replace</var> argument is absent or false,
-    a new entry is added to the session history to represent this
-    entry, and the previous entries for this <code>Document</code> are
-    all collapsed into one entry with a new <code>Document</code>
-    object.</p>
+    <p>If the <var title="">replace</var> argument is present and has
+    the value "<code title="">replace</code>", the existing entries in
+    the session history for the <code>Document</code> object are
+    removed.</p>
 
     <p>The method has no effect if the <code>Document</code> is still
     being parsed.</p>

Modified: source
===================================================================
--- source	2009-08-29 23:28:48 UTC (rev 3699)
+++ source	2009-08-29 23:33:07 UTC (rev 3700)
@@ -9767,11 +9767,10 @@
     title="dom-document-write">document.write()</code> will be parsed
     as plain text.</p>
 
-    <p>If the <var title="">replace</var> argument is absent or false,
-    a new entry is added to the session history to represent this
-    entry, and the previous entries for this <code>Document</code> are
-    all collapsed into one entry with a new <code>Document</code>
-    object.</p>
+    <p>If the <var title="">replace</var> argument is present and has
+    the value "<code title="">replace</code>", the existing entries in
+    the session history for the <code>Document</code> object are
+    removed.</p>
 
     <p>The method has no effect if the <code>Document</code> is still
     being parsed.</p>




More information about the Commit-Watchers mailing list