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

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 UTC