W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Anonymous Ruby Box Generation

From: Richard Ishida <ishida@w3.org>
Date: Wed, 25 Sep 2013 13:53:12 +0100
Message-ID: <5242DCB8.5040207@w3.org>
To: W3C Style <www-style@w3.org>, "CJK discussion (public-i18n-cjk@w3.org)" <public-i18n-cjk@w3.org>
http://www.w3.org/TR/css3-ruby/#box-fixup
2.2. Anonymous Ruby Box Generation

I'm having a little trouble understanding how this works such that we 
end up with all ruby layout structures properly parented.

[1]
If the ruby markup is

<ruby>振<rt>ふ</rt>り<rt>り</rt>仮<rt>が</rt>名<rt>な</rt></ruby>

How do the base characters get anonymous ruby-base boxes?



[2]
If the ruby markup is

<ruby><rb>振<rb>り<rb>仮<rb>名<rt>ふ<rt>り</rt><rt>が<rt>な</ruby>

step 3 says

"Within each ruby base container, each sequence of inline-level boxes is 
wrapped in an anonymous ruby base box"

Shouldn't this say:

"Within each ruby base container, each of the inline-level boxes is 
wrapped in an anonymous ruby base box"

since the sequence is equivalent to the ruby base container by the 
definition in step 2.



[3]
If the ruby markup is

<ruby><rb>振<span>り</span>仮名<rt>annotations</ruby>

wouldn't step 3 produce 3 ruby bases where only one was intended?
Received on Wednesday, 25 September 2013 12:53:44 UTC

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