W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-ruby][css-text-decor] Underline position for Japanese text with ruby

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Sun, 29 Oct 2017 23:31:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-340312106-1509319864-sysbot+gh@w3.org>
[Reply](https://lists.w3.org/Archives/Public/www-style/2015Jul/0002.html) from @kojiishi:
> Right, but UA could preserve spaces always, or offset in paint time and overflow if that's more appropriate. I mean, I'm not suggesting that's good, but there are several options when Xidorn said "can do something".
>
> Note that Masayuki is right if he's looking at digital books today. Because "text-underline-position" is not implemented widely yet, and because it defaults to "left" (Chinese), and because of how Blink/WebKit renders CJK underlines today, most EPUB authors I know choose "border-right" instead. Common Japanese vertical CSS includes, for instance:
>
> ```
> a {
>   text-decoration:none;
>   border-right:thin solid;
> }
> ```
>
> This should result in what Masayuki illustrated when the text contains ruby.
>
> I interpret this as an indication of rendering that way is less bad than other issues.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1918#issuecomment-340312106 using your GitHub account
Received on Sunday, 29 October 2017 23:31:07 UTC

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