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

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:13 UTC