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

RE: Regarding update of language declaration tests (I81NWG)

From: Richard Ishida <ishida@w3.org>
Date: Mon, 19 Apr 2010 22:29:59 +0100
To: "'Leif Halvard Silli'" <xn--mlform-iua@xn--mlform-iua.no>, <www-international@w3.org>
Message-ID: <010401cae007$78610ea0$69232be0$@org>
> From: Leif Halvard Silli [mailto:xn--mlform-iua@målform.no]
> Sent: 16 April 2010 04:30
> To: www-international@w3.org
> Subject: Regarding update of language declaration tests (I81NWG)
> (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.
> http://www.hixie.ch/tests/adhoc/html/meta/content-language/

Afaict that is an incorrect conclusion you are drawing from Hixie's test.
The div appears green because of  div { color: green; }, not because of a
change that is introduced by the language setting.

> (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.


Received on Monday, 19 April 2010 21:30:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:31 UTC