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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 22 Dec 2016 18:32:22 +0330
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <1def3dfb-a270-7a7d-2552-32073f4efbff@inkedblade.net>
On 07/02/2015 08:35 AM, Xidorn Quan wrote:
> On Thu, Jul 2, 2015 at 3:09 AM, fantasai <fantasai.lists@inkedblade.net <mailto:fantasai.lists@inkedblade.net>> wrote:
>> And adding space always means we add space even when no text decoration
>> is used anywhere. If that's acceptable, we could have
>>   rt { line-height: normal; }
>> have special behavior in ruby text, perhaps--defining it as
>>   normal = 1em + thickness-of-underline
>> and then put that in the default UA style sheet for <rt>?
> It won't help. Ruby annotations are inline boxes [1], and the height
>of inline boxs is not affected by line-height.

The height of the visible box isn't affected by line height,
but the space allocated to it by layout is controlled entirely
by line-height. So I'm confused what you mean?

Received on Thursday, 22 December 2016 20:53:41 UTC

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