Re: [Selectors4] :dir()

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