<?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>19095</bug_id>
          
          <creation_ts>2012-09-27 18:04:46 +0000</creation_ts>
          <short_desc>As written, it seems that the lang IDL attribute just reflects the @lang attribute of the element, and not the &quot;language of the node&quot;. If so, this is not very useful. If not, the spec could be clarified.</short_desc>
          <delta_ts>2013-02-13 00:06:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-lang-and-xml:lang-attributes</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>gregg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74662</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-09-27 18:04:46 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-lang-and-xml:lang-attributes
Complete: http://www.whatwg.org/c#the-lang-and-xml:lang-attributes

Comment:
As written, it seems that the lang IDL attribute just reflects the @lang
attribute of the element, and not the &quot;language of the node&quot;. If so, this is
not very useful. If not, the spec could be clarified.

Posted from: 38.127.199.123
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80207</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-12-14 22:32:35 +0000</bug_when>
    <thetext>The more useful variant might be added to the DOM: bug 16489. Although if lang can be repurposed that might be better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82863</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-02-09 22:09:52 +0000</bug_when>
    <thetext>What do browsers do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82872</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-02-10 10:20:28 +0000</bug_when>
    <thetext>&lt;!DOCTYPE html&gt;&lt;html lang=no&gt;.&lt;script&gt;w(document.body.lang == &quot;&quot;)&lt;/script&gt;

Yields true in Chrome / Firefox / Opera. Pretty sure implementations agree with the specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83071</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-02-13 00:06:51 +0000</bug_when>
    <thetext>Yeah. Gonna leave this as is then.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>