Re: [css3-layout] shorthand for slot construction

2009/10/18 Stephen Hay <haymail@gmail.com>:
> On Sun, Oct 18, 2009 at 8:48 PM, Giovanni Campagna
> <scampa.giovanni@gmail.com> wrote:
>
>> This also means that strange flex units are not really needed, you
>> just go with percentages on width, height + min-width / min-height.
>> Actually, this would make the whole ascii art concept a bit less
>> useful (since you need to set the [min-/max-]width, [min-/max-]height
>> on the ::slot()). We could go back to the @template syntax in the 2007
>> version of css3-layout.
>
> From a designer's perspective, almost all layout grids (I mean
> traditional layout grids, not css3-grid) are very explicit, and
> percentages will be good enough for most flexibility. For those rare
> instances where they aren't, min/max on the ::slot() shouldn't be a
> problem.
>
> Why was @template changed?

Actually, they first invented display:"abc" "ade", then they thought
of @template, now they dropped it...

>> In conclusion, my opinion is go tables, go absolute positioning, go
>> percentages and go syntax sugar. New layout systems and algorithms are
>> not that needed, not in the 2009 world of full CSS2 support.
>
> Right now there is still no actual grid layout system, as tables are
> not grids, although they share certain characteristics.

Why are they not? Or better, what do you mean by "grid layout system"?
To me a "grid" is just a set of vertical and horizontal offsets (the
grid lines), at which you snap objects through some other layout
system (absolute positioning)

> Floats are not
> layout systems (but have been hacked to work as one) and positioning
> can be used to position things on a grid. It is not, however, a grid.

Again, what are the problems of positioning to create a grid system?
Except the height issue, of course (but defining "gr" units for height
can be extremely painful)

> While I see your point, I think we still need one grid layout system.
> My opinion is that we should take whatever is necessary from flexbox
> and css3-grid (only the 'gr' unit IMO), add them to template layout,
> and keep that as a grid layout system. So then:
>
> Template layout = grid layout system
> Positioning = position things on and within the grid
> Floats = float things within the grid
> Table layout = for laying out tables :)

The point is: what is template that cannot be done with tables and
content adjusting?

>
> /Stephen
>

Giovanni

Received on Sunday, 18 October 2009 19:29:06 UTC