Re: [Selectors4] :dir()

Le 30/09/11 10:57, Christoph Päper a écrit :
> fantasai:
>
>>     Added :dir() selector to select based on element directionality (ltr vs. rtl).
>
> When there is a small, fixed set of possible arguments one should consider not using arguments at all. That means, ‘:ltr’ etc. seem the better choice.
>
> Also, abbrevs are evil, i.e. rather use ‘:direction()’.
>

Because the text direction is going to remain limited to horizontal
in the future? The set of directions is not small...

</Daniel>

Received on Friday, 30 September 2011 09:44:32 UTC