W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-text] Better wording than "known to be language X" (was line-break questions/comments

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Tue, 28 Aug 2012 13:59:27 +0200
To: Koji Ishii <kojiishi@gluesoft.co.jp>
Cc: Glenn Adams <glenn@skynav.com>, W3C Style <www-style@w3.org>, "public-i18n-cjk@w3.org" <public-i18n-cjk@w3.org>, ML public-i18n-core (public-i18n-core@w3.org) <public-i18n-core@w3.org>
Message-ID: <20120828135927938816.70feb150@xn--mlform-iua.no>
Koji Ishii, Mon, 27 Aug 2012 10:16:47 -0400:
> IE falls back to Tools/Options setting if no language is specified in 
> HTML, meta, nor in HTTP, of which initial value is set by system 
> language. Is it included to "@lang or its equivalent"?

Have you checked that Internet Explorer 9 and/or 10 do behave like that?

You see, HTML4 *did* permit that above behavior - namely, to fallback 
to the language of the locale - e.g. the OS or the user agent. However, 
HTML5 does not permit this. HTML5 permits to fallback to the default 
*encoding* of the locale. But it does not permit to fall back to the 
*language* of the locale.

http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-lang-and-xml:lang-attributes

When it comes to meta and HTTP, then this is known in HTML5 as the 
pragrama-set default language.

http://www.w3.org/TR/2011/WD-html5-20110525/semantics.html#pragma-set-default-language

The pragma-set default language is included in HTML5's language 
determination algorithm and steps in if a @lang or @xml:lang is not 
available.
-- 
leif halvard Silli
Received on Tuesday, 28 August 2012 12:00:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:59 GMT