<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9420</bug_id>
          
          <creation_ts>2010-04-05 19:19:21 +0000</creation_ts>
          <short_desc>The legal syntax of &lt;META http-equive=&quot;content-language&quot; content=&quot;*&quot;&gt;</short_desc>
          <delta_ts>2010-10-04 14:47:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/semantics.html#attr-meta-http-equiv-content-language</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          <blocked>9411</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34564</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-04-05 19:19:21 +0000</bug_when>
    <thetext>Bug 9417 specifies changes to the algorithm for setting the pragrma set default language of the document. 

Those changes are meant to make user agents treat the content of META content-language 100% the same way as xml:lang=&quot;*&quot; and lang=&quot;*&quot;. E.g. if the META content-language declaration says &quot;nn,no&quot;,, then the language of the document is set to the literal string &quot;nn,no&quot;, even if this is an illegal langauge tag.

This bug, however, specifies the *legal syntax* of META content-language element. The legal syntax differs from what Bug 9417 suggest as the the way user agents treat the META content-language element. The reason for the difference is the link between the META content-language and HTTP content-language - they should have the same syntax.

The legal syntax of META content-language should be the following:

(1) A single BCP47 valid language tag should [of course] be permitted
(2) A comma separated list of 2 or more BCP47 valid language tags
      (treated as a single, illegal, language by user agents)
(3) The empty string (to set the langauge to unknown)
(4) Whitespace and/or a single comma (as synonymous with the empty string.

Regarding (4): In Mozilla, the META content-language is a whitespace or a single comma, then these character will be ignord by the user agent. Thus a CSS selector such as 

                    *:lang(\,) {color:lime}

or 

                   *:lang(\ ) {color:lime}

does not work. This is the behaviour I am after. (I realize that this also requires changes to the algorithm.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34565</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-04-05 19:25:56 +0000</bug_when>
    <thetext>(In reply to comment #0)

&gt; (4) Whitespace and/or a single comma (as synonymous with the empty string.

A more purist approach would be to forbid (4). The empty string can do the same thing. The only reason I suggest (4) is because it allows something which is compatible with Mozilla browsers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34569</commentid>
    <comment_count>2</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-04-05 20:14:22 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; 
&gt; &gt; (4) Whitespace and/or a single comma (as synonymous with the empty string.
&gt; 
&gt; A more purist approach would be to forbid (4). The empty string can do the same
&gt; thing. The only reason I suggest (4) is because it allows something which is
&gt; compatible with Mozilla browsers.


CHANGE: I withdraw (4). Thus only the empty string should have the meaning &quot;unknown language&quot;!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34837</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-04-13 00:53:59 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: I don&apos;t understand. What is the problem that this solves? What is the use case?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>