Re: [css-ruby] CSS ruby tests

On Mon, Aug 24, 2015 at 8:38 PM, Richard Ishida <ishida@w3.org> wrote:
>
> there is some support for ruby-align values in Firefox, but they only work
> on the annotations, not the base.  By default the browsers align as
> 'space-around'.

BTW, browsers other than Firefox treat ruby base and ruby text box
like inline-block, which means you can use text-align on them to
specify the alignment. This is also the motivation for us to implement
ruby-align, because otherwise there is no way in Gecko to specify a
different align for ruby.

> no browser hides an annotation if it is identical to the base text it
> annotates (eg. for 'furigana').

So autohide should generally work in Gecko if you write your testcase as:
<ruby><rb>振<rb>り<rb>仮<rb>名<rt>ふ<rt>り<rt>が<rt>な</ruby>

I've filed the bug your test uncovers [1], and I should fix is soon.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1197765


- Xidorn

Received on Monday, 24 August 2015 12:12:40 UTC