[Bug 19253] i18n-ISSUE-198: rt and rp elements

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19253

--- Comment #1 from Erika Doyle Navara <erika.doyle@microsoft.com> ---
Instead of "surrounded by", which might imply that the <rp> element actually
contains the <rt> elements rather than being a sibling to them, how about the
following:

An rp element followed by one or more rt elements, followed by another rp
element.

Here is the staged change for review:
https://github.com/w3c/html/commit/6b284107feab5267292377504977b37ca0a4d0f9

It changes this part of the spec:
http://www.w3.org/TR/html51/text-level-semantics.html#the-ruby-element

Also, given that "Contexts in which this element can be used" for <rp> elements
states that:

As a child of a ruby element, either immediately before or immediately after an
rt element.
http://www.w3.org/TR/html51/text-level-semantics.html#the-rp-element

...it is unclear whether the following would be allowed:

<ruby>BASE<rp>(</rp><rt>annotation1</rt><rt>annotation2</rt><rp>)</rp></ruby>

Is the i18n IG / HTML WG okay with this ambiguity, or should we be more strict
and drop the "or more" part to only allow one <rt> element per <rp> pair?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You reported the bug.

Received on Wednesday, 2 January 2013 23:37:18 UTC