W3C home > Mailing lists > Public > www-style@w3.org > November 2015

[css-text-decor] Default UA stylesheet for emphasis marks

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Tue, 24 Nov 2015 16:28:30 +1100
Message-ID: <CAMdq698pGQvDT+m2cX8w35CVmh-kxNNjRa8rcUzAMZ-a5i_Uwg@mail.gmail.com>
To: www-style list <www-style@w3.org>
There is currently only one language-specific style rule in the
default UA stylesheet for emphasis marks:
> :root:lang(zh), [lang|=zh] {
> /* default emphasis mark position is 'under right' for Chinese */
>   text-emphasis-position: under right;
> }

I think we should have another one at least for ja, otherwise Japanese
text embeded inside Chinese text would have undesired result.

Probably something like:
> :root:lang(ja), [lang|=ja] {
> /* default emphasis mark position is 'over right' for Japanese */
>   text-emphasis-position: over right;
> }

- Xidorn
Received on Tuesday, 24 November 2015 05:29:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:29 UTC