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

On Thu, Jul 2, 2015 at 3:09 AM, fantasai <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.

[1] http://dev.w3.org/csswg/css-ruby-1/#ruby-layout

- Xidorn

Received on Thursday, 2 July 2015 04:06:55 UTC