W3C home > Mailing lists > Public > www-style@w3.org > May 2014

[selectors] Selectors for writing scripts

From: Andrew Thompson <lordpixel@mac.com>
Date: Thu, 22 May 2014 22:18:07 -0400
Message-Id: <4BD68DCF-93A1-4326-9A35-C5E1DEC095CE@mac.com>
To: www style <www-style@w3.org>
Apologies if this is an old topic but is there any way to specify different typefaces be used for content that's in different languages without marking it up?

Obviously if one's underlying markup is nicely decorated with lang="en" attributes then one can select on those - I found the documentation for :lang().

But what about runs of Japanese script inside English paragraphs? Is there any way to select based on the writing script a browser determines a piece of text? (I suppose the operative question is whether the browsers are doing any of this detection of simply passing text to the underlying OS for rendering?)

Andrew Thompson
Received on Friday, 23 May 2014 02:18:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:42 UTC