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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 11 Nov 2014 11:39:25 -0500
Message-ID: <54623BBD.6040202@inkedblade.net>
To: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
On 11/08/2014 01:42 PM, L. David Baron 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?

It's to handle HTML5 spanning ruby markup:
   <ruby><rb>旧<rb>金<rb>山<rt>jiù<rt>jīn<rt>shān<rtc>San Francisco</ruby>

> I ask because I think it adds substantial extra complexity,
> especially around line-breaking of ruby.  If there isn't a good use
> case for it, I would prefer if ruby annotation containers that do
> not have enough annotations simply not provide annotations for the
> final bases, instead of having their final annotation span all the
> remaining bases.

What is the complication wrt line-breaking, and how is it better
to use nested markup?

Received on Tuesday, 11 November 2014 16:39:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:48 UTC