W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

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

From: Matt Falkenhagen <falken@chromium.org>
Date: Tue, 16 Jul 2013 12:25:10 +0900
Message-ID: <CAJ_xCimtGXHV4cgcOVgcuEu8DvgeQc2zVqoOeaMR1VJ0G3ch5Q@mail.gmail.com>
To: WHATWG <whatwg@whatwg.org>
(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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC