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

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?

~fantasai

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