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

:dir() pseudo-class

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Thu, 21 Jul 2011 13:00:32 +0300
Message-ID: <CA+FsOYaJBPGMqL2V2qiwDNGpPe0ATpUMYYjA_Uh48g6EDGkjLg@mail.gmail.com>
To: W3C style mailing list <www-style@w3.org>
I think that :dir(lrtr|rtl) will be very useful, great stuff!

Just one purely editorial comment on the draft spec

> The :dir() pseudo-class allows the author to write selectors that represent
> an element based on its directionality as determined by the document language

I find "document language" misleading. "Language" makes one think of
the lang attribute. And "document language" makes me think of <html
lang="...">. I do not have great alternatives, though... Perhaps
something like "as determined in the document by means other than

Received on Thursday, 21 July 2011 10:01:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC