(endorsed by the i18n WG)
4.6.20 The ruby element
"An rp element followed by one or more rt elements, each of which is itself followed by an rp element"
Have I misunderstood this, or is it saying that you could have something like:
or is it a typo, and should read "each of which is itself surrounded by an rp element"?
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:
It changes this part of the spec:
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:
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?
Robin will be working through all the ruby matters.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:
Status: Partially Accepted
Change Description: Complete overhaul of the section.
Rationale: The section has been completely overhauled and your input has been taken into account. That said, there is no strict requirement for <rp> elements to appear in well-balanced pairs and the example you cite *could* sometimes apply. For instance, it could be used to place a comma between two annotations that would otherwise go above and below the base text. The section on <rp> has an example of that.
I18N is satisfied by these changes. Thank you.