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

Re: [Selectors4] :dir()

From: Alan Gresley <alan@css-class.com>
Date: Fri, 30 Sep 2011 22:12:52 +1000
Message-ID: <4E85B244.9030405@css-class.com>
To: Christoph Päper <christoph.paeper@crissov.de>
CC: W3C Style <www-style@w3.org>
On 30/09/2011 9:49 PM, Alan Gresley wrote:
> On 30/09/2011 8:28 PM, Christoph Päper wrote:

>> ⇒
>> :direction(top, left) {/* eurographic */}
>> :direction(top, right) {/* semitographic */}
>> :direction(right, top) {/* sinographic */}
>> :direction(left, top) {/* Mongolian */}
>> …
>
> Chris, have you studied the writing-mode WD [1]. I ask because the use
> of 'eurographic' is indicating a language of European origin (like
> English, Latin, French, etc.). So for the first part you have 'top'.
> This would be say 'block flow direction' that begins at the top of the
> page. I would much prefer 'tb' as in the writing mode spec.

[snip]

> :direction(tb) {/* eurographic, & semitographic */}

I should have mentioned that writing-mode (horizontal / vertical) can 
only be queried from the CSS. This may cost something in performances.



-- 
Alan Gresley
http://css-3d.org/
http://css-class.com/
Received on Friday, 30 September 2011 12:13:24 UTC

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