Re: [css-text] I18N-ISSUE-314: Line breaking and ruby

On 01/24/2014 10:20 AM, Phillips, Addison wrote:
> State:
>      OPEN WG Comment
> Product:
>      CSS3-text
> Raised by:
>      Richard Ishida
> Opened on:
>      2013-12-11
> Description:
>      5.1. Line Breaking Details
>      http://www.w3.org/TR/2013/WD-css-text-3-20131010/#line-break-details
>
>      "For line breaking in/around ruby, the base text is considered
>       part of the same inline formatting context as its surrounding
>       content, but the ruby text is not: i.e. line breaking opportunities
>       between the ruby element and its surrounding content are determined
>       as if the ruby base were inline and the ruby text were not there."
>
>      This is not true where group ruby is concerned. The intercharacter
>      breaks that would be allowed in the base text are not allowed within
>      a run of ideographic characters that are spanned by a single ruby
>      text element.

That's a different consideration than the one here. I can split the sentences
which may help, but here they are:

        "For line breaking in/around ruby, the base text is considered
         part of the same inline formatting context as its surrounding
         content, but the ruby text is not."

This is explaining that the contents of the ruby annotation do not
have an impact on determining line breaks
   a) between parts of the base text
   b) between the ruby element and its surrounding text

        "Line breaking opportunities between the ruby element and its
         surrounding content are determined as if the ruby base were
         inline and the ruby text were not there."

This is specifically only about breaks between the ruby element and
the surrounding content. Group ruby restrictions are irrelevant here:
group ruby does not span outside the ruby element, it only affects
line breaking within the element.

In any case, now that we have an updated Ruby module, CSS3 Text
is simply deferring to that module now:

   # Line breaking in/around Ruby is defined in Ruby box and line
   # breaking [CSS3RUBY].

(Although, it looks like I forgot to update the references. Done!)

Hope that helps!

~fantasai

Received on Friday, 9 May 2014 00:44:20 UTC