W3C home > Mailing lists > Public > www-style@w3.org > December 2007

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

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Wed, 12 Dec 2007 17:03:11 -0800
Message-ID: <476084CF.6070106@terrainformatica.com>
To: WWW Style <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:56 GMT