Re: [css3-layout] Issues/suggestions for Template Layout Module

On Wed, Apr 29, 2009 at 9:33 AM, Alexis Deveria <adeveria@gmail.com> wrote:
> Here's a simple demo with two possible renderings. The first one [1]
> is currently what the jQuery implementation does, because I was
> thinking of the slot itself being equivalent to its only child
> element. However, when thinking of the slot as a container, I suppose
> the rendering should actually be [2].
>
> So should the following template be rendered as [1], [2], or something else?

It should render as #2.

> Come to think of it, unless the contained elements were to have a
> height of 100%, the background shouldn't fill the slot, should it? But
> it does fill it in Example XX [3]. Again, the relationship between
> imagined slot container and child element seems a bit fuzzy to me.

Bert confirmed off-list that Example XX is erroneous.  Elements should
not stretch to fill their container, so those colored backgrounds
would not form squares without additional CSS.

~TJ

Received on Wednesday, 29 April 2009 14:40:27 UTC