Re: [css4-selectors] Pseudo-class for writing mode

On 06/21/2012 11:08 PM, Sebastian Zartner wrote:
> As far as I saw there's currently no possibility to select according to a certain writing mode [1], only for the direction [2].
> Therefore I suggest to introduce a :writing-mode pseudo-class matching the values of the writing-mode property.

Selectors can't select based on the value of a CSS property,
so that won't work. (If you read the Selectors 4 spec carefully,
you'll note that :dir() operates *only* on the directionality
stated in the markup, if the markup supports such a notion.
It does not reflect the CSS 'direction'.)

~fantasai

Received on Friday, 22 June 2012 07:02:53 UTC