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

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. So

   div:ltr { direction:rtl; }

simply means that in this particular div author wants
to see rtl text despite of possible ltr environment.

May or may not have any sense. The same as here:
   div[dir="ltr"] { direction:rtl; }

Andrew Fedoniouk.

Received on Monday, 17 March 2008 03:08:56 UTC