Re: New values for Float property

On Friday 2009-12-04 00:11 -0600, Patrick Garies wrote:
> On 12/3/2009 10:48 AM, Salar wrote:
> >clear: start/end as mentioned here:
> >http://lists.w3.org/Archives/Public/www-style/2009Dec/0081.html
> >padding-start / padding-end
> >border-start / border-end
> >outline-start / outline-end
> >margin-start / margin-end
> >background-position: start/end
> >
> >I don't thing implementation of above styles isn't hard and won't cause
> >any issue.
> 
> You still have to define interactions with the non-dynamic
> properties; for example, does |padding-start| override
> |padding-left| or does it override |padding-right|?
> 
> It seems like it would be easier to have something like |direction:
> auto| where the |auto| keyword automatically reverses all literal
> left and right properties and values.

It's not necessarily easier, because user-agent style sheets need to
have margin-start, etc., in a number of places (ul, ol, blockquote),
so we have to implement it anyway.  

In any case, there are two main proposals for ways this can work.
My proposal (which I implemented in Gecko in 2004 [1]) was:
http://lists.w3.org/Archives/Public/www-style/2002Sep/0049.html and
fantasai's significantly simpler proposal, which didn't handle
quite as many cases, but may be sufficient (which, again, I can't
find) involving, I think, adding a new default value to the physical
properties saying that they should falll through to the logical
ones.  For a summary of the old discussions, also see:
http://lists.w3.org/Archives/Public/www-style/2006Jun/0082.html

-David

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=74880

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 4 December 2009 19:01:04 UTC