Bugzilla – Bug 514
Clarify that there's no encoding necessary for innerHTML and such like.
Last modified: 2009-05-27 14:35:31 CEST
Index: source =================================================================== --- source (revision 2698) +++ source (revision 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>