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

[csswg-drafts] [css-align][css-flexbox][css-grid] Difference between overflow behaviour when aligning and justifying to start and end in flexbox and grid

From: Rachel Andrew via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Nov 2016 11:25:23 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-191245962-1479900322-sysbot+gh@w3.org>
rachelandrew has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-align][css-flexbox][css-grid] Difference between overflow 
behaviour when aligning and justifying to start and end in flexbox and
 grid ==
Where a flex or grid container is smaller than the items inside, and 
has overflow auto or scroll set on it, items aligned/justified to 
`end` or `flex-end` behave differently to those aligned `start` or 
`flex-start`. The original post from an author who asked  me the 
question is 
[here](https://github.com/rachelandrew/cssgrid-ama/issues/7#issue-189424032).
 I did a couple of tests 
[here](http://codepen.io/rachelandrew/pen/MbmOXO), and found the same 
behaviour in grid with justify-content at least.

This seems to relate to [this open Chrome 
issue](https://bugs.chromium.org/p/chromium/issues/detail?id=503483), 
although the behaviour is the same in Firefox.

The relevant part of the spec is 
[here](https://drafts.csswg.org/css-align/#overflow-scroll-position), 
so the scrolling to the end of the container seems correct, but I 
think that most authors would expect the overflow to scroll, just from
 the other direction. 

I'm not clear from the spec whether this is a bug in implementations, 
or is desired behaviour for a reason I don't fully understand, either 
way it could be clarified perhaps with an example (which I'd be happy 
to put together once I understand the issue fully myself!)


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/751 using your GitHub 
account
Received on Wednesday, 23 November 2016 11:25:30 UTC

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