W3C home > Mailing lists > Public > www-style@w3.org > March 2008

Re: [CSS3] ltr and rtl pseudo-class proposal

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 16 Mar 2008 22:24:55 -0700
Message-ID: <47DE00A7.6090304@inkedblade.net>
To: robert@ocallahan.org
CC: Andrew Fedoniouk <news@terrainformatica.com>, www-style@w3.org

Robert O'Callahan wrote:
> On Mon, Mar 17, 2008 at 4:08 PM, Andrew Fedoniouk 
> <news@terrainformatica.com <mailto:news@terrainformatica.com>> wrote:
> 
>     Robert O'Callahan wrote:
>      > So what happens with
>      >
>      > div::ltr { direction:rtl; }
>      >
>      > ?
> 
>     Nothing wrong in principle.
> 
>     div:ltr will match any element that has or is
>     inside element with dir="ltr" defined explicitly.
> 
> 
> You're right, I didn't read your message properly. But then ::ltr won't 
> be all that useful, if it can't be relied on to match the actual direction.

Yeah, but authors should be fussing with the 'direction' property in
HTML in the first place, so for authors following i18n best practices
and using only 'dir' attributes and not 'direction'.. it would work
very well.

~fantasai
Received on Monday, 17 March 2008 05:25:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT