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

Re: [css3-layout] shorthand for slot construction

From: Stephen Hay <haymail@gmail.com>
Date: Sun, 18 Oct 2009 20:21:28 +0200
Message-ID: <f29fb5880910181121v4473c650v472e1c2191b2f29d@mail.gmail.com>
To: news@terrainformatica.com
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Www-style <www-style@w3.org>
On Sun, Oct 18, 2009 at 7:42 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:

> Are you speaking about this:
> http://www.terrainformatica.com/w3/flex-layout/flex-layout.htm ?
>
> And about "body { grid-columns: * * (0.5in * *)[2];" in templates...
>
> width/min-width/max-width defined on involved elements are more
> convenient for such layouts.
>
> This:
> .col2 { width:*; min-width:10px; max-width:50%; }
> will make .col2 flexible with boundary constraints.
>
> In any case having one more place of defining element dimensions (that
> grid-columns thing) will create logical conflicts with existing box
> module http://www.w3.org/TR/css3-box/ and width/height [+min/max]
> attributes defined there.

I agree.

On your page (<http://www.terrainformatica.com/w3/flex-layout/flex-layout.htm>),
you have an example which can be described as:

#example { ". a ." }

where the left '.' is 2* and the right '.' is 1*. How would this be
expressed in template layout, as

#example { ". a ." 2* 40% 1* }

would not be allowed? It seems we would need to be explicit, as in

#example { ". a ." 40% 40% 20% }

/Stephen
Received on Sunday, 18 October 2009 18:21:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT