W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

[csswg-drafts] [css-grid] I think the gutter math behind cell sizes is broken

From: Cory Simmons via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Oct 2016 23:12:58 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-180770289-1475536377-sysbot+gh@w3.org>
corysimmons has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] I think the gutter math behind cell sizes is broken ==
https://www.w3.org/TR/css-grid-1/

https://codepen.io/corysimmons/pen/vXxpjY?editors=1100

In the 'els per row' example, there is symmetry related to the 
"correct" (hard to mess up that math) solution. In all other grids, 
including grid spec, there is no symmetry related to the correct 
solution.

I understand what grid spec is doing, and it's definitely easier to 
reason about... but is it right?

Grids were invented to derive functional beauty from math.

Grid spec and *all* grids don't seem as beautiful as the symmetrical 
solution.

I want to embrace grid spec when it lands (dat markup), but this seems
 more important to the designer in me. If it is agreed upon that it's 
broken, I'm sorry I didn't notice the general problem sooner.

Anxious to hear everyone's thoughts on this...

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/563 using your GitHub 
account
Received on Monday, 3 October 2016 23:13:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC