This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
(endorsed by the i18n WG) 4.6.20 The ruby element http://dev.w3.org/html5/spec/the-ruby-element.html#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: <ruby>BASE<rp>(</rp><rt>annotation1</rt><rp>)</rp><rt>annotation2</rt><rp>)</rt></ruby> 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: 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?
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: http://dev.w3.org/html5/decision-policy/decision-policy.html 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.