- From: kawabata taichi <kawabata.taichi@gmail.com>
- Date: Wed, 19 Mar 2014 16:11:18 +0900
- To: CJK discussion <public-i18n-cjk@w3.org>
- Message-ID: <CA+PRW9-KSDSLA5zKtBjbwKdSnD9eVMvFKjD6OZR7TyiP-8_VRg@mail.gmail.com>
Dear HTML5 editors, In HTML5 CR document, the context of an <rp> element is described as "As a child of a ruby element, either immediately before or immediately after an rt or rtc element." [1]. As of it, it seems as if <rp> can appear between <rt> elements, for example, as "<rt>A</rt><rp>B</rp><rt>A</rt>". However, practically, such a thing wouldn't happen, and in the segmentation and categorisation algorithm [2], pairing would be inconsistent and may fail in such a case. For example: <ruby>b1<rb>b2</rb><rb>b3</rb><rt>t1</rt><rp>(</rp><rt>t2</rt></ruby> will be paired to (b1,t1), (b2+b3,t2), but <ruby>b1<rb>b2</rb><rb>b3</rb><rtc><rt>t1</rt><rp>(</rp><rt>t2</rt></rtc></ruby> will be paired to (b1,t1) (b2,rp) (b3,t2). Should we explicitly prohibit for <rp> to appear between <rt> elements to prevent such a situation? Any comment is appreciated. Regards, [1] ... http://www.w3.org/html/wg/drafts/html/CR/text-level-semantics.html#the-rp-element [2] ... http://www.w3.org/TR/html5/text-level-semantics.html#segmentation-and-categorisation-of-ruby -- --------------------------------------------------------------------- KAWABATA, Taichi E-mail: kawabata.taichi@gmail.com
Received on Wednesday, 19 March 2014 07:11:46 UTC