Re: [css3-box] padding-start/end

On Saturday 17 June 2006 11:50, Anne van Kesteren wrote:
> On Fri, 16 Jun 2006 17:56:01 +0200, Mike Bremford <mike-css@bfo.co.uk>
>
> wrote:
> > CSS3 doesn't yet define a padding-start, padding-end, margin-start or
> > margin-end attribute, despite the fact   that these are needed to
> > correctly render lists when direction is rtl.
> >
> > As almost every layout engine has implemented this somehow,
>
> Really? I'm only aware of some experimental support in Mozilla... Note
> that if you'd do this you'd need it for 'border' as well and perhaps other
> properties... Some properties would also need new values etc.
>
It's also implemented in Safari and Konqueror to set padding and margin on 
lists. 

However since this already relies on the direction property to be evaluated 
first, you could make a pseudo element to handle this sort of 
styling. :direction(rtl) :direction(ltr)

`Allan

Received on Saturday, 17 June 2006 10:58:54 UTC