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

Re: [css-ruby] Conflict with HTML5 spec

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Mon, 23 Feb 2015 21:18:50 +1100
Message-ID: <CAMdq69_toM5=aMnZ5J2B=QCxynirQnuH7z7DUVmORD6L-O+frw@mail.gmail.com>
To: www-style list <www-style@w3.org>
On Mon, Feb 23, 2015 at 8:42 AM, Xidorn Quan <quanxunzhen@gmail.com> wrote:

> I just notice a conflict between the CSS Ruby spec and the sections
> related to ruby in the HTML5 spec.
>
> The HTML5 spec of both WHATWG and W3C version say that
> improperly-contained inner ruby elements should represent their children
> (Including that <rp> should not be hidden). [1][2]
>
> However, the CSS Ruby specifies the display value unconditionally to those
> tags in the default stylesheet [3], and requires generating proper parents
> for those elements [4].
>
> I guess the easiest way to fix this conflict is changing the default
> stylesheet to meet the HTML5 spec.
>

But one problem I'm concerned about changing the default stylesheet is
that, if we change it to something like "ruby > rb { display: ruby-base; }"
then the author would be confused when he wants to override the rule.
Simple rule like "rb { display: inline; }" won't have any effect.

- Xidorn
Received on Monday, 23 February 2015 10:19:58 UTC

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