W3C home > Mailing lists > Public > www-style@w3.org > February 2015

Re: [css-ruby] Default line-height of <rtc> should be zero

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 06 Feb 2015 20:04:06 -0500
Message-ID: <54D56486.70200@inkedblade.net>
To: www-style@w3.org
On 11/25/2014 12:04 AM, Xidorn Quan wrote:
> On Tue, Nov 25, 2014 at 3:51 PM, Xidorn Quan <quanxunzhen@gmail.com <mailto:quanxunzhen@gmail.com>> wrote:
>
>
>     Since the font-size is applied to <rt>, <rtc> will still have a line-height which is double of the font-size of <rt>. If
>     there are multiple annotations stacked, there will be a gap between levels because of the line-height. The leading is also
>     affected by this.
>
>     I propose that in the default style sheet, "line-height: 0;" should be added to the rule for <rtc> so that there won't be
>     a gap by default, but authors can customize it if they want.
>
>
> In addition, to prevent <rt> from inheriting line-height from <rtc>, I propose that, "line-height: normal;" should be added to
> the rule for <rt> as well.

I believe these suggestions have been superseded by subsequent fixes
to the default style sheet. Let me know if there's still something
to fix. :)

~fantasai
Received on Saturday, 7 February 2015 05:18:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC