Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@7283 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
commit 184c4d2452b16f787fcc98bebc682ad3a3d155bb 1 parent 4deee0d
ianh authored
Showing with 20 additions and 36 deletions.
  1. +7 −12 complete.html
  2. +7 −12 index
  3. +6 −12 source
View
19 complete.html
@@ -15531,18 +15531,13 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>
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>
-
- <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>
+ <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>
- <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
+ <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
+
+ <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 @@ <h5 id=pragma-directives><span class=secno>4.2.5.3 </span>Pragma directives</h5>
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
View
19 index
@@ -15531,18 +15531,13 @@ people expect to have work and what is necessary.
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>
-
- <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>
+ <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>
- <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
+ <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
+
+ <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 @@ people expect to have work and what is necessary.
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
View
18 source
@@ -16512,19 +16512,13 @@ people expect to have work and what is necessary.
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>
- <ol>
+ <!-- http://www.hixie.ch/tests/adhoc/html/meta/content-language/ -->
- <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>
+ <ol>
<li><p>If the <code>meta</code> element has no <code
title="attr-meta-content">content</code> attribute, or if that
@@ -16551,7 +16545,7 @@ people expect to have work and what is necessary.
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>
Please sign in to comment.
Something went wrong with that request. Please try again.