Re: [whatwg] HTML: A DOM attribute that returns the language of a node

(resending from correct address)

On Tue, Jul 16, 2013 at 10:18 AM, Takayoshi Kochi (河内 隆仁)
<kochi@google.com> wrote:
> IIUC WebKit uses internally node's language to determine which font to use
> to render text,
> e.g for Han unification (https://en.wikipedia.org/wiki/Han_unification)
> WebKit has to choose
> a proper glyph depending on its lang attribute for the same Unicode
> codepoint.

Yes, WebKit does this using -webkit-locale which Elliott mentioned
above.

Firefox and IE also use language for font selection, but I'm not
familiar with their implementation.

Received on Tuesday, 16 July 2013 03:25:56 UTC