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

[css-ruby] Conflict with HTML5 spec

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Mon, 23 Feb 2015 08:42:32 +1100
Message-ID: <CAMdq69-c8GgjC3mh-ocs7dzK6OHbxUEeO6+VW4kGLexztGANuQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
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.

[1] https://html.spec.whatwg.org/multipage/semantics.html#the-rt-element
[2] http://www.w3.org/TR/html5/text-level-semantics.html#the-rt-element
[3] http://dev.w3.org/csswg/css-ruby-1/#default-ua-ruby
[4] http://dev.w3.org/csswg/css-ruby-1/#box-fixup

- Xidorn
Received on Sunday, 22 February 2015 21:43:39 UTC

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