W3C home > Mailing lists > Public > www-international@w3.org > July to September 2008

Re: Updated tests & results: Language declarations

From: Leif Halvard Silli <lhs@malform.no>
Date: Fri, 15 Aug 2008 18:49:50 +0200
Message-ID: <48A5B3AE.2060105@malform.no>
To: Richard Ishida <ishida@w3.org>
CC: www-international@w3.org

Richard Ishida 2008-08-15 16.17:

> [... ] I have corrected the test page [...] 

> 
> The difference that this causes is that, when a meta tag is
> used, Firefox now detects the language for :lang (but not for
> font selection, just like for the HTTP test), and Safari also
> detects the language for :lang (it doesn't do font selection),
> even though Safari doesn't recognize the HTTP header
> declaration.
> 
> IE and Opera continue to not recognize the meta declaration at
> all.


Confirmed on Mac OS X. The old IE 5.2 for Mac also uses the META.

 
> I don't have a test for what happens if the meta tag declares
> several languages at once to be the default. I may add one
> using the model of the multiple-value-in-HTTP tests I have.

I tested multiple language tags in the same META element. Only 
Firefox "supports" it. IE 5.2. for Mac also has some support, 
however, there only the last language tag in the content attribute 
is used.

Another thing to test, is the presence of two or more 
Content-Language META elements in the same document. I am not 
certain about the semantical likeness/difference from placing all 
language tags in the same META element. But at least, doing so 
gives more predicable results, as then only the last META element 
is used in CSS selectors.
-- 
leif halvard silli
Received on Friday, 15 August 2008 16:50:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:18 GMT