[whatwg] lang versus xml:lang

On Fri, 02 Mar 2007 20:25:51 +0100, Keryx Web <webmaster at keryx.se> wrote:
> And today the base element already works in at least FFox and Opera also  
> when content is sent as true XHTML 1.0, so this would not really change  
> anything but the spec.

Yup. I start to think that lang="" should also be allowed in XML  
documents. xml:lang is nice, but if you don't have knowledge of the HTML  
namespace knowing the language of certain constructs isn't that valuable.  
It would also make HTMLElement.lang useful for XML documents...

(And user agents have to support and support this stuff already too.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Sunday, 4 March 2007 15:17:56 UTC