[whatwg] HTML: A DOM attribute that returns the language of a node

Ian Hickson ian at hixie.ch
Sat Jul 13 08:39:33 PDT 2013

On Fri, 12 Jul 2013, Peter Occil wrote:
> Well, my true hope is that such a DOM attribute like "language" will be 
> specified in the HTML or DOM spec.  Especially since it's not currently 
> possible to get the language of a node through JavaScript methods alone. 

What's the use case for having this in HTML?

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list