W3C home > Mailing lists > Public > www-style@w3.org > December 2016

Re: [css-text-decor] Update to account for sideways-lr/rl

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 27 Dec 2016 16:48:53 +0330
To: "www-style@w3.org" <www-style@w3.org>, 'WWW International' <www-international@w3.org>, CJK discussion <public-i18n-cjk@w3.org>
Message-ID: <ff899465-c3d5-2868-8ac3-5fe3fb7284e6@inkedblade.net>
On 03/15/2016 11:46 PM, fantasai wrote:
> The Text Decoration module does certain special things for vertical
> writing modes; it should be fixed/clarified to make sure it does
> the appropriate things for sideways-lr/rl modes (i.e. don't use
> vertical typographic conventions, use horizontal ones rotated 90deg).

I've checked in changes that make text decoration depend on vertical
vs horizontal *typographic* mode rather than *writing* mode.

Note that this makes text-emphasis-position and text-underline-position
use the [over|under] value pairing instead of the [left|right] for the
sideways-lr/rl values of 'writing-mode'. (The logic for this is that all
text, including CJK, is rotated in these modes--CJK text would tend to
use vertical-lr/rl, which allows for upright characters and allows for
sideways characters via 'text-orientation'.)

https://www.w3.org/TR/css-writing-modes-3/#typographic-mode
https://www.w3.org/TR/css-writing-modes-3/#block-flow

Please let me know if there are any concerns with this approach.

~fantasai
Received on Tuesday, 27 December 2016 13:19:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:05 UTC