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

Re: [csswg-drafts] [css-flexbox][css-grid] Choose a single option for resolving padding and margin percent values of grid/flex items

From: Ragdoll via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Dec 2017 18:39:55 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-353653741-1513967994-sysbot+gh@w3.org>
I'm inclined to go with Chrome’s solution, because content typically expands in height and it's hard to imagine increasing vertical spacing just because a box is taller; especially on mobile devices. However, that’s assuming that websites will continue to be built in this manner. I wonder if mass adoption and use of an actual layout mechanism (CSS Grid) will open up new possibilities that require Firefox's implementation. I don't have any examples, it's just speculation (and Grid is awesome).

That said, I think %w and %h would be a graceful solution.

GitHub Notification of comment by revoltpuppy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2085#issuecomment-353653741 using your GitHub account
Received on Friday, 22 December 2017 18:40:02 UTC

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