W3C home > Mailing lists > Public > www-style@w3.org > June 2006

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

From: Allan Sandfeld Jensen <kde@carewolf.com>
Date: Sat, 17 Jun 2006 12:58:41 +0200
To: www-style@w3.org
Message-Id: <200606171258.41939.kde@carewolf.com>

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 GMT

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