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

Re: [csswg-drafts] [css-grid] Percentages and intrinsic size

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 13 Oct 2017 20:09:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-336555157-1507925384-sysbot+gh@w3.org>
Wrt https://github.com/w3c/csswg-drafts/issues/509#issuecomment-333759551 / https://github.com/w3c/csswg-drafts/issues/509#issuecomment-334437618 about the symmetry of percentage resolution for rows and columns: the changes to the spec treating them as symmetrical was intentional, as this is as far as we can tell what the WG resolved. An overarching principle of the grid layout algorithm was to treat rows and columns symmetrically, so this seemed consistent with that goal. Tab and I aren't specifically opposed to making them asymmetrical to match implementations; we're happy to spec whichever behavior implementers and authors prefer. It would be good to hear from @MatsPalmgren, @atanassov, @rachelandrew, and @jensimmons here.

Wrt percentage gaps, we just listed all the possible options. Imho options C and E are super broken--E because of the variation in gaps across the grid, and C because in that method the gap tells the grid algorithm "I can handle the extra space requirements of this spanning element, assign that space to me!" and then during percentage resolution splits off that space amongst all the gaps which isn't helpful. :) I think I'd object to either one. Option A is listed because @MatsPalmgren was advocating for it.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/509#issuecomment-336555157 using your GitHub account
Received on Friday, 13 October 2017 20:09:47 UTC

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