[html5] r4994 - [giow] (2) Change how <meta> is processed during parsing to require an explicit [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Apr 11 23:47:21 PDT 2010


Author: ianh
Date: 2010-04-11 23:47:16 -0700 (Sun, 11 Apr 2010)
New Revision: 4994

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Change how <meta> is processed during parsing to require an explicit http-equiv=content-type where applicable.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9225

Modified: complete.html
===================================================================
--- complete.html	2010-04-12 06:43:45 UTC (rev 4993)
+++ complete.html	2010-04-12 06:47:16 UTC (rev 4994)
@@ -77976,12 +77976,15 @@
     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 a <code title=attr-meta-charset><a href=#attr-meta-charset>content</a></code> attribute, and
+    <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
+    string "<code title="">Content-Type</code>", and the element has a
+    <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, and
     applying the <a href=#algorithm-for-extracting-an-encoding-from-a-content-type>algorithm for extracting an encoding from a
-    Content-Type</a> to its value returns a supported encoding
-    <var title="">encoding</var>, 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 <var title="">encoding</var>.</p>
+    Content-Type</a> to that attribute's value returns a supported
+    encoding <var title="">encoding</var>, 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 <var title="">encoding</var>.</p>
 
    </dd>
 

Modified: index
===================================================================
--- index	2010-04-12 06:43:45 UTC (rev 4993)
+++ index	2010-04-12 06:47:16 UTC (rev 4994)
@@ -71248,12 +71248,15 @@
     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 a <code title=attr-meta-charset><a href=#attr-meta-charset>content</a></code> attribute, and
+    <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
+    string "<code title="">Content-Type</code>", and the element has a
+    <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, and
     applying the <a href=#algorithm-for-extracting-an-encoding-from-a-content-type>algorithm for extracting an encoding from a
-    Content-Type</a> to its value returns a supported encoding
-    <var title="">encoding</var>, 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 <var title="">encoding</var>.</p>
+    Content-Type</a> to that attribute's value returns a supported
+    encoding <var title="">encoding</var>, 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 <var title="">encoding</var>.</p>
 
    </dd>
 

Modified: source
===================================================================
--- source	2010-04-12 06:43:45 UTC (rev 4993)
+++ source	2010-04-12 06:47:16 UTC (rev 4994)
@@ -88896,15 +88896,17 @@
     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 a <code
-    title="attr-meta-charset">content</code> attribute, and
+    <p>Otherwise, if the element has an <code
+    title="attr-meta-http-equiv">http-equiv</code> attribute whose
+    value is an <span>ASCII case-insensitive</span> match for the
+    string "<code title="">Content-Type</code>", and the element has a
+    <code title="attr-meta-content">content</code> attribute, and
     applying the <span>algorithm for extracting an encoding from a
-    Content-Type</span> to its value returns a supported encoding
-    <var title="">encoding</var>, and the <span
-    title="concept-encoding-confidence">confidence</span> is
-    currently <i>tentative</i>, then <span>change the
-    encoding</span> to the encoding <var
-    title="">encoding</var>.</p>
+    Content-Type</span> to that attribute's value returns a supported
+    encoding <var title="">encoding</var>, and the <span
+    title="concept-encoding-confidence">confidence</span> is currently
+    <i>tentative</i>, then <span>change the encoding</span> to the
+    encoding <var title="">encoding</var>.</p>
 
    </dd>
 




More information about the Commit-Watchers mailing list