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

Re: :dir() pseudo-class

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 21 Jul 2011 18:20:21 +0800
Message-ID: <4E27FD65.5090504@csail.mit.edu>
To: "Aharon (Vladimir) Lanin" <aharon@google.com>
CC: W3C style mailing list <www-style@w3.org>
(11/07/21 18:00), Aharon (Vladimir) Lanin wrote:
> I think that :dir(lrtr|rtl) will be very useful, great stuff!
>
> Just one purely editorial comment on the draft spec
> (http://dev.w3.org/csswg/selectors4/#dir-pseudo):
>
>> 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
> style"?

Well, "document language" is a defined term in CSS21[1]. It would be
nice if every occurrence of this term is cross-linked to that part but
that doesn't seem to be the style used in these CSS specs.

[1] http://www.w3.org/TR/CSS21/conform.html#doclanguage

Kenny
Received on Thursday, 21 July 2011 10:16:16 UTC

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