[Selectors4] :dir()

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

Received on Friday, 30 September 2011 08:57:28 UTC