[html5] r2699 - [t] (0) Clarify that there's no encoding necessary for innerHTML and such like.

whatwg at whatwg.org whatwg at whatwg.org
Fri Jan 23 16:15:21 PST 2009


Author: ianh
Date: 2009-01-23 16:15:20 -0800 (Fri, 23 Jan 2009)
New Revision: 2699

Modified:
   index
   source
Log:
[t] (0) Clarify that there's no encoding necessary for innerHTML and such like.

Modified: index
===================================================================
--- index	2009-01-23 11:48:52 UTC (rev 2698)
+++ index	2009-01-24 00:15:20 UTC (rev 2699)
@@ -22,7 +22,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 23 January 2009</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 24 January 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -7792,7 +7792,8 @@
    the document. This is a <dfn id=script-created-parser>script-created parser</dfn> (meaning
    that it can be closed by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> and <code title=dom-document-close><a href=#dom-document-close>document.close()</a></code> methods, and
    that the tokeniser will wait for an explicit call to <code title=dom-document-close><a href=#dom-document-close>document.close()</a></code> before emitting
-   an end-of-file token).</li>
+   an end-of-file token).  The encoding <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+   <i>irrelevant</i>.</li>
 
    <li>Mark the document as being an <a href=#html-documents title="HTML documents">HTML
    document</a> (it might already be so-marked).</li>
@@ -47094,10 +47095,14 @@
   available to the user agent (e.g. the <a href=#content-type-0 title=Content-Type>Content-Type metadata</a> of the document)
   and all the bytes available so far, and returns an encoding and a
   <dfn id=concept-encoding-confidence title=concept-encoding-confidence>confidence</dfn>. The
-  confidence is either <i>tentative</i> or <i>certain</i>. The
-  encoding used, and whether the confidence in that encoding is
-  <i>tentative</i> or <i>confident</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
-  determine whether to <a href=#change-the-encoding>change the encoding</a>.</p>
+  confidence is either <i>tentative</i>, <i>certain</i>, or
+  <i>irrelevant</i>. The encoding used, and whether the confidence in
+  that encoding is <i>tentative</i> or <i>confident</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
+  determine whether to <a href=#change-the-encoding>change the encoding</a>. If no
+  encoding is necessary, e.g. because the parser is operating on a
+  stream of Unicode characters and doesn't have to use an encoding at
+  all, then the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+  <i>irrelevant</i>.</p>
 
   <ol><li><p>If the transport layer specifies an encoding, and it is
    supported, return that encoding with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
@@ -53264,7 +53269,9 @@
    <li>
 
     <p>Place into the <a href=#the-input-stream>input stream</a> for the <a href=#html-parser>HTML
-    parser</a> just created the <var title="">input</var>.</p>
+    parser</a> just created the <var title="">input</var>. The
+    encoding <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
+    <i>irrelevant</i>.</p>
 
    </li>
 

Modified: source
===================================================================
--- source	2009-01-23 11:48:52 UTC (rev 2698)
+++ source	2009-01-24 00:15:20 UTC (rev 2699)
@@ -8005,7 +8005,9 @@
    title="dom-document-close">document.close()</code> methods, and
    that the tokeniser will wait for an explicit call to <code
    title="dom-document-close">document.close()</code> before emitting
-   an end-of-file token).</p></li>
+   an end-of-file token).  The encoding <span
+   title="concept-encoding-confidence">confidence</span> is
+   <i>irrelevant</i>.</p></li>
 
    <li>Mark the document as being an <span title="HTML documents">HTML
    document</span> (it might already be so-marked).</li>
@@ -53779,11 +53781,16 @@
   title="Content-Type">Content-Type metadata</span> of the document)
   and all the bytes available so far, and returns an encoding and a
   <dfn title="concept-encoding-confidence">confidence</dfn>. The
-  confidence is either <i>tentative</i> or <i>certain</i>. The
-  encoding used, and whether the confidence in that encoding is
-  <i>tentative</i> or <i>confident</i>, is <a
+  confidence is either <i>tentative</i>, <i>certain</i>, or
+  <i>irrelevant</i>. The encoding used, and whether the confidence in
+  that encoding is <i>tentative</i> or <i>confident</i>, is <a
   href="#meta-charset-during-parse">used during the parsing</a> to
-  determine whether to <span>change the encoding</span>.</p>
+  determine whether to <span>change the encoding</span>. If no
+  encoding is necessary, e.g. because the parser is operating on a
+  stream of Unicode characters and doesn't have to use an encoding at
+  all, then the <span
+  title="concept-encoding-confidence">confidence</span> is
+  <i>irrelevant</i>.</p>
 
   <ol>
 
@@ -60664,7 +60671,10 @@
    <li>
 
     <p>Place into the <span>input stream</span> for the <span>HTML
-    parser</span> just created the <var title="">input</var>.</p>
+    parser</span> just created the <var title="">input</var>. The
+    encoding <span
+    title="concept-encoding-confidence">confidence</span> is
+    <i>irrelevant</i>.</p>
 
    </li>
 




More information about the Commit-Watchers mailing list