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

[css-ruby] Annotation pairing and annotation levels

From: Robin Berjon <robin@w3.org>
Date: Tue, 24 Sep 2013 14:39:37 +0200
Message-ID: <52418809.9020105@w3.org>
To: "www-style@w3.org" <www-style@w3.org>
Hi all,

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.).

I can easily change the algorithm to match CSS Ruby, and am inclined to 
do so, but I wanted to check first that this is intentional and desirable.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 24 September 2013 12:39:46 UTC

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