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

Re: [Selectors4] :dir()

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 30 Sep 2011 11:43:57 +0200
Message-ID: <4E858F5D.9030909@disruptive-innovations.com>
To: www-style@w3.org
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

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