W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-writing-modes] Add a new value `horizontal-tb-rl` to `writing-mode`

From: 張俊芝 via GitHub <sysbot+gh@w3.org>
Date: Sun, 10 Jun 2018 15:24:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-396057632-1528644288-sysbot+gh@w3.org>
@frivoal Thanks for the point. I finally managed to achieve the effect with the following code:

<!DOCTYPE html>
<meta charset="utf-8">
<title>rtl horizontal text</title>
<span style="direction: rtl; unicode-bidi: bidi-override;">澤施四海</span>

The `direction` combined with `unicode-bidi` does the job prefectly, so it's not necessary to add a new value to the `writing-mode`, I think this issue can be closed now.

Having said that, as to the topic whether it's in horizontal mode or short-columned vertical mode:

As a Chinese, I have never experienced in my life any senario where traditionally horizontal CJK characters are mixed with non-CJK characters. But I believe usages like this are meant in horizontal mode instead of short-columned vertical mode. Characters are placed to the next line typically ONLY when there's no room in the inline direction so they have to have a new line. But I have seen RTL horizontal usages in senarios where there's still much room in the vertical direction. So you can just imagine how incredible it is to put each English word in one line when there's still much room in the horizontal direction. So for this reason, I believe usages like this are meant in horizontal mode.

GitHub Notification of comment by Zhang-Junzhi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2754#issuecomment-396057632 using your GitHub account
Received on Sunday, 10 June 2018 15:24:53 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:31 UTC