W3C home > Mailing lists > Public > www-style@w3.org > November 2014

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

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Tue, 25 Nov 2014 16:04:36 +1100
Message-ID: <CAMdq69-qShP13ukaeTQ7keZc4m7JarvPGN4La-w7HWm2a48pQg@mail.gmail.com>
To: www-style list <www-style@w3.org>
On Tue, Nov 25, 2014 at 3:51 PM, Xidorn Quan <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.

- Xidorn
Received on Tuesday, 25 November 2014 05:05:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC