W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-ruby] Annotation pairing and annotation levels

From: Robin Berjon <robin@w3.org>
Date: Thu, 26 Sep 2013 14:19:44 +0200
Message-ID: <52442660.7010606@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Hey Tab,

On 24/09/2013 18:28 , Tab Atkins Jr. wrote:
> On Tue, Sep 24, 2013 at 5:39 AM, Robin Berjon <robin@w3.org> wrote:
>> in http://dev.w3.org/csswg/css-ruby/#annotation-pairing it is currently
>> indicated that a ruby segment can contain one or more ruby annotation
>> containers. Each ruby annotation container maps to a level of annotation,
>> and there can be arbitrary numbers of those.
>>
>> In http://darobin.github.io/html-ruby/#dfn-ruby-segment, which I'm currently
>> rephrasing and clarifying in order to ensure a clean mapping to CSS Ruby, I
>> have a different processing model. The number of annotation levels is
>> limited to two (on the grounds that, at least for 2-directional writing,
>> there are only two sides to annotate on — but maybe I'm being culturally
>> insensitive). Any ruby annotation container after the second one generates
>> an empty anonymous ruby base container in front of it (and that process
>> repeats if there are 5, etc.).
>
> On the HTML side you can put in whatever restrictions you want.  It's
> *intended* that Ruby only go up to two, but we have to handle N levels
> in CSS, because you can assign 'display' values to whatever you want.
> Note that multiple levels of annotation just stack higher (or lower).

Yes, I am aware of the distinction; I just wanted to make sure that I 
wasn't preventing something that I hadn't thought about.

I'll stick to the way it currently is, thanks!

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Thursday, 26 September 2013 12:19:54 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC