[csswg-drafts] [css-ruby] White space collapse between ruby annotations

upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ruby] White space collapse between ruby annotations ==
Copy from [my email to www-style](https://lists.w3.org/Archives/Public/www-style/2015Jul/0091.html):
> It seems the current spec is not very clear about how white space collapse should happen on ruby annotations.
>
> There is a sentence says "Where undiscarded white space is collapsible, it will collapse following the standard white space processing rules", but I don't find anywhere mentions the normal white spaces inside ruby annotation.
>
> Let's see an example. If we have a ruby tag like:
> ```
> <ruby>
>   <rb>a</rb><rb>b</rb>
>   <rt>x␣</rt><rt>␣y</rt>
> </ruby>
> ```
>
> If we consider the two ruby text boxes are in the same line, and thus use the standard processing rules to handle the white spaces here, we would get the same result as:
> ```
> <ruby>
>   <rb>a</rb><rb>b</rb>
>   <rt>x␣</rt><rt>y</rt>
> </ruby>
> ```
>
> But it doesn't seem to make sense having a different result between this code and
> ```
> <ruby>
>   <rb>a</rb><rt>x␣</rt><rb>b</rb><rt>␣y</rt>
> </ruby>
> ```
>
> Hence I propose that we do not collapse white space across the boundary of ruby text box.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1909 using your GitHub account

Received on Friday, 27 October 2017 06:40:54 UTC