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

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

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Tue, 25 Nov 2014 15:51:37 +1100
Message-ID: <CAMdq698AcLGHQOWaxT4x60_RF4REEaJ2LjC-0zK1PbQ0SKcdHQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
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.

- Xidorn
Received on Tuesday, 25 November 2014 04:52:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC