[selectors] Selectors for writing scripts

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