- From: Richard Ishida <ishida@w3.org>
- Date: Mon, 24 Aug 2015 12:33:27 +0100
- To: Xidorn Quan <quanxunzhen@gmail.com>
- Cc: www International <www-international@w3.org>, "CJK discussion (public-i18n-cjk@w3.org)" <public-i18n-cjk@w3.org>, W3C Style <www-style@w3.org>
On 24/08/2015 11:55, Xidorn Quan wrote: > On Mon, Aug 24, 2015 at 8:38 PM, Richard Ishida <ishida@w3.org> wrote: >> over the weekend i developed a set of basic, user-oriented tests for css >> ruby properties and behaviours, and produced results for major browsers. >> >> you can find the results and links to tests at >> http://www.w3.org/International/tests/repo/results/css-ruby > > Thanks for the great work. > >> what follows is a high-level summary of results for tests on Firefox, >> Chrome, Opera, Safari and Edge: >> >> all browsers put the annotations 'over' the base by default. No browser >> allows you to move the annotation to the other side. No browser supports >> bopomofo annotations. > > These tests do not match the spec. In the CSS Ruby spec, > `ruby-position` can only be applied to <rtc>, not <rt>. If you follow > that spec, and set the property for <ruby>, then Firefox should work > properly, otherwise, that would be an bug of Gecko. > >> 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'. > > These tests do not match the spec, either. The property `ruby-align` > only affects the box it is applied. To make ruby base work, you need > to apply that property to <rb>, not <rt>. Alternatively, like > `ruby-position`, set the property on <ruby> and just let the > descendents inherit it, you should get the expected result, otherwise, > that would be an bug of Gecko. > >> no browser hides an annotation if it is identical to the base text it >> annotates (eg. for 'furigana'). > > Hmm... This seems to be a real bug for us. Thanks for pointing that out. > > - Xidorn thanks for the feedback, Xidorn. I'll adapt the tests. i'm surprised that ruby-position only works with rtc, and i don't understand why that would be the case. I'll think about that some more and make further comments. ri
Received on Monday, 24 August 2015 11:33:41 UTC