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: dpawson via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Dec 2017 07:58:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-353283520-1513843124-sysbot+gh@w3.org>
On 20 December 2017 at 20:14, jamesej <notifications@github.com> wrote:

> If you have a layout which varies in height but not width (e.g. to
> accommodate more or less content on different pages) then proportional
> spacing being relative to width makes sense as the width will remain
> constant and predictable as the height varies, so the spacing will not vary
> with how much content the layout contains. Generally you want spacing
> around an element to be the same in px horizontally and vertically or it
> looks odd.
> However, if you happened to want to have a layout which extended
> *vertically* to contain more content, you would actually want an
> asymettrical proportionality based on *height*. This suggests the
> addition of a CSS context property e.g. layout-base: { vertical |
> horizontal | independent } which could apply to how this works on all
> children with a default of horizontal.
​I am unable to see any logic in that second para.
If I want to 'spread out' vertically, why would that imply I also want the
same spreading
on the horizontal axis?

regards Dave​

Dave Pawson
Docbook FAQ.

GitHub Notification of comment by dpawson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2085#issuecomment-353283520 using your GitHub account
Received on Thursday, 21 December 2017 07:58:49 UTC

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