Skip to content
Permalink
Browse files

[giow] (2) <meta charset> should only work for ASCII-compatible encod…

…ings.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10260

git-svn-id: http://svn.whatwg.org/webapps@5295 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Aug 16, 2010
1 parent 7c89a22 commit 2f69714b6f6c356e9957c2335d65d65f68dc8b50
Showing with 17 additions and 16 deletions.
  1. +5 −5 complete.html
  2. +5 −5 index
  3. +7 −6 source
<p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
token's <i>self-closing flag</i></a>, if it is set.</p>

<p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and its
value is a supported encoding, and the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
currently <i>tentative</i>, then <a href=#change-the-encoding>change the
encoding</a> to the encoding given by the value of the
<code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute.</p>
<p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and its value
is either a supported <a href=#ascii-compatible-character-encoding>ASCII-compatible character
encoding</a> or a UTF-16 encoding, and the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is currently
<i>tentative</i>, then <a href=#change-the-encoding>change the encoding</a> to the
encoding given by the value of the <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute.</p>

<p>Otherwise, if the element has an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute whose
value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
10 index
<p><a href=#acknowledge-self-closing-flag title="acknowledge self-closing flag">Acknowledge the
token's <i>self-closing flag</i></a>, if it is set.</p>

<p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and its
value is a supported encoding, and the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is
currently <i>tentative</i>, then <a href=#change-the-encoding>change the
encoding</a> to the encoding given by the value of the
<code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute.</p>
<p id=meta-charset-during-parse>If the element has a <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute, and its value
is either a supported <a href=#ascii-compatible-character-encoding>ASCII-compatible character
encoding</a> or a UTF-16 encoding, and the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> is currently
<i>tentative</i>, then <a href=#change-the-encoding>change the encoding</a> to the
encoding given by the value of the <code title=attr-meta-charset><a href=#attr-meta-charset>charset</a></code> attribute.</p>

<p>Otherwise, if the element has an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute whose
value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for the
13 source
token's <i>self-closing flag</i></span>, if it is set.</p>

<p id="meta-charset-during-parse">If the element has a <code
title="attr-meta-charset">charset</code> attribute, and its
value is a supported encoding, and the <span
title="concept-encoding-confidence">confidence</span> is
currently <i>tentative</i>, then <span>change the
encoding</span> to the encoding given by the value of the
<code title="attr-meta-charset">charset</code> attribute.</p>
title="attr-meta-charset">charset</code> attribute, and its value
is either a supported <span>ASCII-compatible character
encoding</span> or a UTF-16 encoding, and the <span
title="concept-encoding-confidence">confidence</span> is currently
<i>tentative</i>, then <span>change the encoding</span> to the
encoding given by the value of the <code
title="attr-meta-charset">charset</code> attribute.</p>

<p>Otherwise, if the element has an <code
title="attr-meta-http-equiv">http-equiv</code> attribute whose

0 comments on commit 2f69714

Please sign in to comment.
You can’t perform that action at this time.