W3C home > Mailing lists > Public > www-international@w3.org > April to June 2010

Regarding update of language declaration tests (I81NWG)

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 16 Apr 2010 05:29:51 +0200
To: www-international@w3.org
Message-ID: <20100416052951046491.10a71ed1@xn--mlform-iua.no>
The I18N WG's language declarations tests has been updated. 3 comments 
in that regard.


(1) "Declarations in the Content-Language meta element were recognized 
by all browsers tested except Opera."

Actually, Opera seems to support it. But in a buggy way. I have seen 
that it support it for <div> elements, but not for <p> elements. (And 
it probably has other bugs as well.) One can see this by trying the 
tests that Ian Hickson recently published. 

(2) "For the browsers that support declarations in both html and meta 
elements (IE8, Firefox, Safari and Chrome), the html element always had 
precedence over the meta element."

Isn't an empty lang="" attribute also a "declaration"? May be you 
should make clear that you do not speak about empty lang in the above. 
(See below about the buggy handling of empty lang="".)

(3) Suggestion for the next update:  This test update incorporated some 
HTML5 and XHTML5 tests. But how about adding a test section for the 
only new thing with regard to language declaration functionality in 
HTML5 - namely the empty lang=""? HTML5 aligns the semantics of empty 
lang="" with  the semantics of empty xml:lang="". But the support for 
this is sloppy both XML/XHTML and in HTML. But browsers are buggy when 
it comes to the semantics of the empty lang=""/xml:lang="". Both when 
it comes to HTML5 and also when it comes to XHTML/XML. Thus this should 
be a really good thing to add tests for.
leif halvard silli
Received on Friday, 16 April 2010 03:30:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:58 UTC