W3C home > Mailing lists > Public > www-international@w3.org > January to March 2013

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 02 Jan 2013 23:37:17 +0000
To: www-international@w3.org
Message-ID: <bug-19253-4285-lGFWcEps27@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 January 2013 23:37:19 GMT