W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-ruby] spanning of ruby annotations across excess bases

From: kawabata taichi <kawabata.taichi@gmail.com>
Date: Wed, 12 Nov 2014 07:20:13 +0900
Message-ID: <CA+PRW98esH9gKaQi=ee+tAxxoukF-KgW3kAemSYrCRnv239Qug@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "www-style@w3.org" <www-style@w3.org>
Dear David,

On Sun, Nov 9, 2014 at 3:42 AM, L. David Baron <dbaron@dbaron.org> wrote:

> http://dev.w3.org/csswg/css-ruby/#base-annotation-pairing says:
>   # If there are not enough ruby annotations in a ruby annotation
>   # container, the last one is paired with (spans across) any excess
>   # ruby bases. (If there are not any in the ruby annotation
>   # container, an anonymous empty one is assumed to exist.)
>
> Is there actually a use case for this behavior, or is it really just
> defining error handling?
>

As far as I know, this is an intended behaviour based on existing use case.
JLREQ usage (Fig. 3.61) usage is certainly rare, but it does have non-
ignorable
presence in various occasions.

Also, it copes with HTML5 Ruby behaviour.
cf.  http://www.w3.org/TR/html5/text-level-semantics.html#annotation-pairing

- When ruby-base elements excesses, all of them matched into last of
existing ruby base.
- When ruby-text elements excesses, it matches to virtual empty ruby texts,

Regards,

-- 
---------------------------------------------------------------------
KAWABATA, Taichi E-mail: kawabata.taichi@gmail.com
Received on Tuesday, 11 November 2014 22:20:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC