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

[css3-grid-layout] 'grid-row' vs 'grid-rows', 'grid-column' vs. 'grid-columns'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 17 Feb 2012 17:15:46 +0100
Message-ID: <4F3E7D32.5070205@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
[This a series of comments arising from Bert and I attempting to merge
the Template and Grid models into a combined Grid Template model so that
we can have one layout model going forward. Some issues arise from merging.
Others are "we found lots of issues while attempting to merge" comments.]

   grid-row and grid-rows
   grid-column and grid-columns

It's very confusing to have two properties that differ only by
pluralization. They differ significantly in what they mean. It
would be better to have a different naming scheme, such that
their names are as distinct as their functions.

One option:
   grid-row -> grid-position-row
   grid-column -> grid-position-column

   (grid-position becomes an obvious shorthand of the two.)

Another option:

   grid-rows -> grid-template-rows
   grid-columns -> grid-template-columns

   Perhaps with
     grid-template -> grid-template-slots
   and 'grid-template' as the shorthand for the three.
   (See <http://lists.w3.org/Archives/Public/www-style/2012Feb/0825.html>
    wrt shorthand.)

Received on Friday, 17 February 2012 16:16:19 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:11 UTC