[html5] r7283 - [giow] (3) Change Content-Language pragma to obeying the last pragma, not the fi [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 27 12:32:59 PDT 2012


Author: ianh
Date: 2012-08-27 12:32:58 -0700 (Mon, 27 Aug 2012)
New Revision: 7283

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Change Content-Language pragma to obeying the last pragma, not the first, as this is closer to what Firefox, IE9, and WebKit do.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-08-27 17:54:25 UTC (rev 7282)
+++ complete.html	2012-08-27 19:32:58 UTC (rev 7283)
@@ -15531,18 +15531,13 @@
     encouraged to use the <code title=attr-lang><a href=#attr-lang>lang</a></code>
     attribute instead.</p>
 
-    <p>This pragma sets the <dfn id=pragma-set-default-language>pragma-set default
-    language</dfn>. Until the pragma is successfully processed, there
-    is no <a href=#pragma-set-default-language>pragma-set default language</a>.</p>
+    <p>This pragma sets the <dfn id=pragma-set-default-language>pragma-set default language</dfn>.
+    Until such a pragma is successfully processed, there is no
+    <a href=#pragma-set-default-language>pragma-set default language</a>.</p>
 
-    <ol><li><p>If another <code><a href=#the-meta-element>meta</a></code> element with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the
-     <a href=#attr-meta-http-equiv-content-language title=attr-meta-http-equiv-content-language>Content
-     Language state</a> has already been successfully processed
-     (i.e. when it was inserted the user agent processed it and
-     reached the last step of this list of steps), then abort these
-     steps.</li>
+    <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
 
-     <li><p>If the <code><a href=#the-meta-element>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
+    <ol><li><p>If the <code><a href=#the-meta-element>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
      attribute's value is the empty string, then abort these
      steps.</li>
 
@@ -15564,7 +15559,7 @@
      sequence of characters</a> that are not<!--neither--> <a href=#space-character title="space character">space characters</a><!-- nor a U+002C
      COMMA character (,)-->.</li>
 
-     <li><p>Let the <a href=#pragma-set-default-language>pragma-set default language</a> be the
+     <li><p>Set the <a href=#pragma-set-default-language>pragma-set default language</a> to the
      string that resulted from the previous step.</li>
 
     </ol><p class=note>This pragma is not exactly equivalent to the HTTP

Modified: index
===================================================================
--- index	2012-08-27 17:54:25 UTC (rev 7282)
+++ index	2012-08-27 19:32:58 UTC (rev 7283)
@@ -15531,18 +15531,13 @@
     encouraged to use the <code title=attr-lang><a href=#attr-lang>lang</a></code>
     attribute instead.</p>
 
-    <p>This pragma sets the <dfn id=pragma-set-default-language>pragma-set default
-    language</dfn>. Until the pragma is successfully processed, there
-    is no <a href=#pragma-set-default-language>pragma-set default language</a>.</p>
+    <p>This pragma sets the <dfn id=pragma-set-default-language>pragma-set default language</dfn>.
+    Until such a pragma is successfully processed, there is no
+    <a href=#pragma-set-default-language>pragma-set default language</a>.</p>
 
-    <ol><li><p>If another <code><a href=#the-meta-element>meta</a></code> element with an <code title=attr-meta-http-equiv><a href=#attr-meta-http-equiv>http-equiv</a></code> attribute in the
-     <a href=#attr-meta-http-equiv-content-language title=attr-meta-http-equiv-content-language>Content
-     Language state</a> has already been successfully processed
-     (i.e. when it was inserted the user agent processed it and
-     reached the last step of this list of steps), then abort these
-     steps.</li>
+    <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
 
-     <li><p>If the <code><a href=#the-meta-element>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
+    <ol><li><p>If the <code><a href=#the-meta-element>meta</a></code> element has no <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute, or if that
      attribute's value is the empty string, then abort these
      steps.</li>
 
@@ -15564,7 +15559,7 @@
      sequence of characters</a> that are not<!--neither--> <a href=#space-character title="space character">space characters</a><!-- nor a U+002C
      COMMA character (,)-->.</li>
 
-     <li><p>Let the <a href=#pragma-set-default-language>pragma-set default language</a> be the
+     <li><p>Set the <a href=#pragma-set-default-language>pragma-set default language</a> to the
      string that resulted from the previous step.</li>
 
     </ol><p class=note>This pragma is not exactly equivalent to the HTTP

Modified: source
===================================================================
--- source	2012-08-27 17:54:25 UTC (rev 7282)
+++ source	2012-08-27 19:32:58 UTC (rev 7283)
@@ -16512,20 +16512,14 @@
     encouraged to use the <code title="attr-lang">lang</code>
     attribute instead.</p>
 
-    <p>This pragma sets the <dfn>pragma-set default
-    language</dfn>. Until the pragma is successfully processed, there
-    is no <span>pragma-set default language</span>.</p>
+    <p>This pragma sets the <dfn>pragma-set default language</dfn>.
+    Until such a pragma is successfully processed, there is no
+    <span>pragma-set default language</span>.</p>
 
+    <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
+
     <ol>
 
-     <li><p>If another <code>meta</code> element with an <code
-     title="attr-meta-http-equiv">http-equiv</code> attribute in the
-     <span title="attr-meta-http-equiv-content-language">Content
-     Language state</span> has already been successfully processed
-     (i.e. when it was inserted the user agent processed it and
-     reached the last step of this list of steps), then abort these
-     steps.</p></li>
-
      <li><p>If the <code>meta</code> element has no <code
      title="attr-meta-content">content</code> attribute, or if that
      attribute's value is the empty string, then abort these
@@ -16551,7 +16545,7 @@
      title="space character">space characters</span><!-- nor a U+002C
      COMMA character (,)-->.</p></li>
 
-     <li><p>Let the <span>pragma-set default language</span> be the
+     <li><p>Set the <span>pragma-set default language</span> to the
      string that resulted from the previous step.</p></li>
 
     </ol>




More information about the Commit-Watchers mailing list