Skip to content

Commit

Permalink
[t] (0) Clarify that there's no encoding necessary for innerHTML and …
Browse files Browse the repository at this point in the history
…such like.

git-svn-id: http://svn.whatwg.org/webapps@2699 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 24, 2009
1 parent e16f54a commit bf22da6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 13 deletions.
21 changes: 14 additions & 7 deletions index
Expand Up @@ -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-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 23 January 2009</h2>
<h2 class="no-num no-toc" id=draft-recommendation-&mdash;-date:-01-jan-1901>Draft Recommendation &mdash; 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>
Expand Down Expand Up @@ -7792,7 +7792,8 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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>
Expand Down Expand Up @@ -47094,10 +47095,14 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {
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>
Expand Down Expand Up @@ -53264,7 +53269,9 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<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>

Expand Down
22 changes: 16 additions & 6 deletions source
Expand Up @@ -8005,7 +8005,9 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
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>
Expand Down Expand Up @@ -53779,11 +53781,16 @@ interface <dfn>MessageChannel</dfn> {
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>

Expand Down Expand Up @@ -60664,7 +60671,10 @@ http://lxr.mozilla.org/seamonkey/search?string=nested
<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>

Expand Down

0 comments on commit bf22da6

Please sign in to comment.