I18N-ISSUE-194: Multiple sequential rt elements [.prep-HTML5]

I18N-ISSUE-194: Multiple sequential rt elements [.prep-HTML5]


Raised by: Richard Ishida
On product: .prep-HTML5

http://dev.w3.org/html5/spec/the-ruby-element.html#the-ruby-element (4.6.20 The ruby element) says that base text can be followed by "One or more rt elements", which I assume refers to the fact that you can do something like

<ruby>BASE<rt>annotation 1<rt>annotation 2</ruby>

and expect that both annotations will be associated with the same base text.

In http://dev.w3.org/html5/spec/the-rt-element.html (4.6.21 The rt element) however, it says that 

"An rt element that is a child of a ruby element represents an annotation (given by its children) for the *zero* or more nodes of phrasing content *that immediately precedes it* in the ruby element, ignoring rp elements." (my emphasis)

This seems to imply that the second rt element contains an annotation for an 'empty' base text - ie. the annotation sits on the baseline after any preceding base text. This is what Chrome currently does, but not what IE does - see http://www.w3.org/International/tests/html-css/ruby/results-ruby-markup#multiply

These two descriptions seem to be contradicting each other.

Received on Tuesday, 25 September 2012 15:39:28 UTC