W3C home > Mailing lists > Public > www-style@w3.org > February 2012

[css3-grid-layout] Renaming auto grid properties

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 14 Feb 2012 17:33:59 +0100
Message-ID: <4F3A8CF7.8070404@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
I suggest renaming

   - grid-flow to grid-auto-add
   - grid-column-sizing to grid-auto-columns
   - grid-row-sizing to grid-auto-rows

resulting in

   grid-auto-add: none | rows | columns
   grid-auto-columns: <size of automatically-added columns>
   grid-auto-rows:    <size of automatically-added rows>

This has the following benefits:

   - makes the first property's function much more obvious
     (What does 'grid-auto-add: rows' do? It automatically
     adds rows!)

   - makes the relationship amongst the three and the fact
     that they play a role in automatic placement explicit
     (All of grid-auto-* does automatic grid stuff.)

   - draws a closer relation between 'grid-auto-columns'
     and 'grid-columns' / 'grid-auto-rows' and 'grid-rows'
     by making their names match

Received on Tuesday, 14 February 2012 16:34:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:12 UTC