W3C home > Mailing lists > Public > www-style@w3.org > April 2009

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 29 Apr 2009 09:39:47 -0500
Message-ID: <dd0fbad0904290739h48aef990xfecae7b0372ce185@mail.gmail.com>
To: Alexis Deveria <adeveria@gmail.com>
Cc: www-style@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:25 UTC