[html5] r8064 - [giow] (3) Define the kind of language tag that navigator.language must return A [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 16 15:58:42 PDT 2013


Author: ianh
Date: 2013-07-16 15:58:40 -0700 (Tue, 16 Jul 2013)
New Revision: 8064

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Define the kind of language tag that navigator.language must return
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2013-07-16 19:58:07 UTC (rev 8063)
+++ complete.html	2013-07-16 22:58:40 UTC (rev 8064)
@@ -74143,7 +74143,7 @@
 
    <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    --><!-- at time of testing, this was supported by Opera, Safari, and Mozilla only --><dt><dfn id=dom-navigator-language title=dom-navigator-language><code>language</code></dfn></dt>
-   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a valid BCP 47 language tag representing the user's preferred language. <a href=#refsBCP47>[BCP47]</a></dd>
 
   </dl><p class=warning>As for the API in the previous section, any information in this API that varies
   from user to user can be used to profile or identify the user. For this reason, user agent
@@ -103764,6 +103764,7 @@
   Andrew Smith,
   Andrew W. Hagen,
   Andrey V. Lukyanov,
+  Andy Earnshaw,
   Andy Heydon,
   Andy Palay,
   Anne van Kesteren,

Modified: index
===================================================================
--- index	2013-07-16 19:58:07 UTC (rev 8063)
+++ index	2013-07-16 22:58:40 UTC (rev 8064)
@@ -74143,7 +74143,7 @@
 
    <dt><dfn title="dom-navigator-userLanguage"><code>userLanguage</code></dfn></dt> <!- - Opera and IE only - ->
    --><!-- at time of testing, this was supported by Opera, Safari, and Mozilla only --><dt><dfn id=dom-navigator-language title=dom-navigator-language><code>language</code></dfn></dt>
-   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a valid BCP 47 language tag representing the user's preferred language. <a href=#refsBCP47>[BCP47]</a></dd>
 
   </dl><p class=warning>As for the API in the previous section, any information in this API that varies
   from user to user can be used to profile or identify the user. For this reason, user agent
@@ -103764,6 +103764,7 @@
   Andrew Smith,
   Andrew W. Hagen,
   Andrey V. Lukyanov,
+  Andy Earnshaw,
   Andy Heydon,
   Andy Palay,
   Anne van Kesteren,

Modified: source
===================================================================
--- source	2013-07-16 19:58:07 UTC (rev 8063)
+++ source	2013-07-16 22:58:40 UTC (rev 8064)
@@ -83003,7 +83003,7 @@
    -->
    <!-- at time of testing, this was supported by Opera, Safari, and Mozilla only -->
    <dt><dfn title="dom-navigator-language"><code>language</code></dfn></dt>
-   <dd><p>Must return either the string "<code title="">en</code>" or a language tag representing the user's preferred language.</p></dd>
+   <dd><p>Must return either the string "<code title="">en</code>" or a valid BCP 47 language tag representing the user's preferred language. <a href="#refsBCP47">[BCP47]</a></p></dd>
 
   </dl>
 
@@ -116367,6 +116367,7 @@
   Andrew Smith,
   Andrew W. Hagen,
   Andrey V. Lukyanov,
+  Andy Earnshaw,
   Andy Heydon,
   Andy Palay,
   Anne van Kesteren,




More information about the Commit-Watchers mailing list