[html5] r1660 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed May 21 16:40:03 PDT 2008
Author: ianh
Date: 2008-05-21 16:40:01 -0700 (Wed, 21 May 2008)
New Revision: 1660
Modified:
index
source
Log:
[] (0) Make document.open() reset the character encoding to UTF-16. Make about:blank use UTF-8. (credit: bz; mozilla bug 380383)
Modified: index
===================================================================
--- index 2008-05-21 22:30:31 UTC (rev 1659)
+++ index 2008-05-21 23:40:01 UTC (rev 1660)
@@ -3966,6 +3966,10 @@
<p>Remove all child nodes of the document.
<li>
+ <p>Change the <a href="#character1">document's character encoding</a> to
+ UTF-16.
+
+ <li>
<p>Create a new <a href="#html-0">HTML parser</a> and associate it with
the document. This is a <dfn id=script-created>script-created
parser</dfn> (meaning that it can be closed by the <code
@@ -28118,10 +28122,11 @@
must be created with a single <code>Document</code> in its session
history, whose <span title="the document's address">address</span> is
<code>about:blank</code><!-- XXX xref -->, which is marked as being an <a
- href="#html-" title="HTML documents">HTML document</a>. The
- <code>Document</code> must have a single child <code><a
- href="#html">html</a></code> node, which itself has a single child
- <code><a href="#body0">body</a></code> node. If the <a
+ href="#html-" title="HTML documents">HTML document</a>, and whose <a
+ href="#character1" title="document's character encoding">character
+ encoding</a> is UTF-8. The <code>Document</code> must have a single child
+ <code><a href="#html">html</a></code> node, which itself has a single
+ child <code><a href="#body0">body</a></code> node. If the <a
href="#browsing1">browsing context</a> is created specifically to be
immediately navigated, then that initial navigation will have <a
href="#replacement">replacement enabled</a>.
Modified: source
===================================================================
--- source 2008-05-21 22:30:31 UTC (rev 1659)
+++ source 2008-05-21 23:40:01 UTC (rev 1660)
@@ -2268,6 +2268,9 @@
<li><p>Remove all child nodes of the document.</p></li>
+ <li><p>Change the <span>document's character encoding</span> to
+ UTF-16.</p></li>
+
<li><p>Create a new <span>HTML parser</span> and associate it with
the document. This is a <dfn>script-created parser</dfn> (meaning
that it can be closed by the <code
@@ -25841,12 +25844,13 @@
created with a single <code>Document</code> in its session history,
whose <span title="the document's address">address</span> is
<code>about:blank</code><!-- XXX xref -->, which is marked as being
- an <span title="HTML documents">HTML document</span>. The
- <code>Document</code> must have a single child <code>html</code>
- node, which itself has a single child <code>body</code> node. If the
- <span>browsing context</span> is created specifically to be
- immediately navigated, then that initial navigation will have
- <span>replacement enabled</span>.</p>
+ an <span title="HTML documents">HTML document</span>, and whose
+ <span title="document's character encoding">character
+ encoding</span> is UTF-8. The <code>Document</code> must have a
+ single child <code>html</code> node, which itself has a single child
+ <code>body</code> node. If the <span>browsing context</span> is
+ created specifically to be immediately navigated, then that initial
+ navigation will have <span>replacement enabled</span>.</p>
<p id="about-blank-origin">The <span>origin</span> of the
<code>about:blank</code> <code>Document</code> is set when the
More information about the Commit-Watchers
mailing list