Re: Advanced Floats

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 UTC