W3C home > Mailing lists > Public > www-style@w3.org > January 2015

[css-ruby] Rule of line breaking between ruby bases

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Wed, 14 Jan 2015 09:25:33 +1100
Message-ID: <CAMdq69_iaJcbSC1Zw2jKjt5OcWZP7K3d-1cyr186RsGK4Osetw@mail.gmail.com>
To: www-style list <www-style@w3.org>
The current spec says:

> Whether ruby can break between two adjacent ruby bases is controlled by
normal line-breaking rules for the base text, exactly as if the ruby bases
were adjacent inline boxes.

I propose that we should add that, there is always a soft wrap opportunity
between ruby bases.

There are two reasons:
1. For real world use cases, we nearly always use ruby with CJK characters
as bases. Even if we use latins in bases, we generally won't spread one
word into several bases. Hence announcing this doesn't affect real world
use cases.
2. All impls including WebKit, Trident, and current Gecko behave in this
way.

I think there is no reason for the spec to cover an imaginary use case
against UA impls.

- Xidorn
Received on Tuesday, 13 January 2015 22:26:39 UTC

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