[css3-multicol] [css3-grid] and other layout managers

De facto multicol[1] and grid[2] introduce different layout managers.

1) These layout schemas use their own subsets of attributes - not a 
single attribute but a number of dependent attributes.
2) These attribute subsets are independent by nature so if one schema is 
applied then secondary attributes - remnants from previous
schema shall be discarded as a whole;

I strongly believe that such layout  managers/methods shall use some 
"block" syntax, sort of:

#eid
{
    background-color: white;
    layout:  columns
        {           
            count: 3;           
            width: 45px;
            gap: 0;
            rule: none;          
        }
}

Thus if someone will decide to redefine layout for the #eid element then 
he/she will do:

#eid
{
    background-color: white;
    layout:  grid
        {           
            columns: 3;
            rows: 3;
        }
}

So stuff under the 'layout' will be redefined as a whole.
Such block syntax will help to evolve these things  as modules in the 
future.

Otherwise we need to define clearly attributes that will trigger 
particular layouts and
how subset of attributes will interact.

Andrew Fedoniouk.
http://terrainformatica.com


[1]http://www.w3.org/TR/2007/WD-css3-multicol-20070606/
[2]http://www.w3.org/TR/2007/WD-css3-grid-20070905/

Received on Thursday, 13 December 2007 01:03:32 UTC