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

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

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 14 Dec 2007 05:35:29 +0100
Message-Id: <68D1C886-0F86-48B2-BC23-C13BB03C5B2F@crissov.de>
To: WWW Style <www-style@w3.org>

Andrew Fedoniouk:
> 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'm following you through here, but the syntax you propose just looks  
wrong and is unlikely compatible to CSS grammar.

> #eid
> {
>    layout:  columns
>        {   count: 3;
>            width: 45px;
>            gap: 0;
>            rule: none;
>        }
> }

   #eid {
     layout: columns;     /* ain't it LtRTtB-centristic? */
     columns: 3;          /* now |column-count| */
     rows:    3;          /* ignored */
     column-width: 45px;
     column-gap: 0;
     column-rule: none;
   }

   #eid {
     layout: grid;
     columns: 3;          /* or |column-count| */
     rows:    3;
     column-width: 45px;  /* probably ignored */
     column-gap: 0;       /* perhaps ignored */
     column-rule: none;   /* perhaps ignored */
   }

JFTR, I haven't read the grid draft yet.
Received on Friday, 14 December 2007 04:35:47 GMT

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