Re: [css-ruby] Should CSS Ruby be consistent with HTML5 Ruby?

On 01/08/2014 07:56 AM, 川幡 太一 wrote:
> Dear fantasai,
>
>>> In <52CCE1C3.2080903@inkedblade.net>,
>>> fantasai wrote:
>
>> The new CSS Ruby spec follows the HTML5 ruby model, and therefore the
>> ruby-base-container element is no longer required to exist in the source.
>> However, because an <rbc> element can exist, the display type exists.
>
> As far as current spec (http://darobin.github.io/html-ruby/) is
> concerned, <rbc> element does not exist. (It does exists in XHTML Ruby,
> though.)
>
>> Note also that for double-sided ruby, <rbc> is still required in HTML5
>> Ruby, to delineate the two sides.
>
> For double-sided ruby, I think not <rbc>, but <rtc> is necessary, as
> follows.
>
> <ruby>Base<rtc>text A</rtc><rtc>text B</rtc></ruby>

Sorry, you're right. I misread your email. :)

I didn't remove the ruby-base-container element because
a) it simplifies the layout abstraction to have a box that is parallel
    in construction to the ruby-text-container
b) it allows a UA directly support XHTML ruby markup with only this
    one addition

For HTML5 markup, the ruby-base-container is automatically generated
and need never show up in the source as an element.

~fantasai

Received on Wednesday, 8 January 2014 17:31:59 UTC