W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: Advanced Floats

From: Brad Kemper <brkemper@comcast.net>
Date: Sun, 6 Jan 2008 01:18:35 -0800
Message-Id: <F73D8515-4D88-4F67-AEAE-18FFF1D66D2D@comcast.net>
Cc: www-style@w3.org
To: fantasai <fantasai.lists@inkedblade.net>

On Jan 2, 2008, at 4:25 PM, fantasai wrote:

> When talking about implementability, one key thing to keep in mind is
> that absolute positioning can position things anywhere inside their
> container *because* those things don't affect the size of the  
> container.

Then don't have them affect the size of their own containers. Have  
them only influence the size of their younger siblings' containers  
(and the descendants of those siblings). Why is it that javascript  
can insert a regular float into a container that increases the  
dimensions of that container, but the corner of a float occupying the  
same area cannot?

> This is not the case with floats: since they affect the content, they
> can affect the size of the container. You can't define a new feature
> as "just mix floats and absolute positioning". It creates a circular
> dependency.

I imagine the spec would be a little longer than that, defined in  
such a way as to avoid circular dependancy.
Received on Sunday, 6 January 2008 09:18:46 GMT

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