New issue
Advanced search Search tips

Issue 718089 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 596743
Owner:
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

flex-shrinking shouldn't propagate down the flexbox chain

Reported by francois...@outlook.com, May 3 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3086.0 Safari/537.36

Steps to reproduce the problem:
1. Have a flexbox with an auto height containing a scrollable item
2. Per CSS rules, its height should be chosen such that its inner box does not overflow
3. If that flexbox is itself in a flexbox, this is not what happens in Chrome

What is the expected behavior?
The height of the scrollable container should not depend on whether or not the flexbox is itself in a flexbox

What went wrong?
The scrollable container is allowed to collapse in that case

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 60.0.3086.0  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 26.0 r0

https://github.com/w3c/csswg-drafts/issues/1290
 
testcase.nested-vertical-flexbox.html
1.0 KB View Download

Comment 1 by e...@chromium.org, May 3 2017

Components: -Blink>Layout Blink>Layout>Flexbox
Owner: cbiesin...@chromium.org
Status: Assigned (was: Unconfirmed)
Over to cbiesinger for further triage.
Hotlist-Interop triage: presumably (since I know Francois works on the Edge team) this works correctly on at least Edge?
Edge and Firefox behave the same here, and I think this is the correct per-spec behavior. There is a good summary of the interop difference here: https://github.com/w3c/csswg-drafts/issues/1290#issuecomment-296890250

I raised the issue this morning in the CSSWG and it was decided that I should go ahead and file a bug on Chrome for the issue. 
Mergedinto: 596743
Status: Duplicate (was: Assigned)
Fairly sure this is a dup of  bug 596743 

Sign in to add a comment