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

Re: [css-ruby] Space distribution in situations with spanning annotations

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 20 Nov 2014 23:16:32 -0500
Message-ID: <546EBCA0.8020501@inkedblade.net>
To: www-style@w3.org
On 11/19/2014 06:49 PM, Xidorn Quan wrote:
>
> Sorry for not describing clearly. For example, if we have something like
>
> <ruby>
>    <rbc style="ruby-align: start"><rb>ab</rb><rb>c</rb></rbc>
>    <rtc style="ruby-align: center"><rt>x</rt><rt>yz</rt></rtc>
>    <rtc>a very very long span</rtc>
> </ruby>
>
> How should the boxes be aligned? You said that would be the same as nested markup, so it is something like:
>
> <ruby>
>    <ruby>
>      <rbc style="ruby-align: start"><rb>ab</rb><rb>c</rb></rbc>
>      <rtc style="ruby-align: center"><rt>x</rt><rt>yz</rt></rtc>
>    </ruby>
>    <rtc>a very very long span</rtc>
> </ruby>
>
> Then the result would be the first one in the figure below. However, the second one looks more reasonable to me.
>
>     <rbc><rb>a</rb></rbc><rtc>xyz<__/rtc> in particular doesn't look
>     like a problem, it should behave exactly as <rb>a</rb><rt>xyz</rt>.
>
>
> Consider something like:
>
> <ruby>
>    <rbc style="ruby-align: start">a</rbc>
>    <rtc>a very very long span</rtc>
> </ruby>
>
> If the <rtc/> forms a span, and the span has the behavior equivalent to nested markup, the result would be different from
> <rb/><rt/>:
>
> ‚Äč
> Does it make sense?

*sigh* Yes. Yes, it makes total sense and your answer is correct,
it should behave like the second rendering. And the fact that
nested markup does not behave that way is a bug in nested markup.

~fantasai
who really should've specced this all out a few months ago :/
Received on Friday, 21 November 2014 04:17:03 UTC

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