New issue
Advanced search Search tips

Issue 650273 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

[css-flex] Changing height of flex container doesn't update its width if needed due to an orthogonal item

Project Member Reported by r...@igalia.com, Sep 26 2016

Issue description

This is a very similar issue #650270 (if not the same).
Just reporting it to verify as the behavior is a bit different.

If we've a flexbox without a specif height with a vertical item inside (orthogonal flows).
The item is re-layout if you change the height of the flexbox, but the width of the flexbox is not recomputed.

Attached an example so you can test it yourself, just clicking on the button, it'll change the height of the flexbox, however the width will be wrong.

BTW, if you set the height of the flexbox initially, the behavior is correct.

 
issue-flex.html
423 bytes View Download
issue-flex-current.png
2.8 KB View Download
issue-flex-expected.png
2.9 KB View Download

Comment 1 by r...@igalia.com, Sep 26 2016

Components: Blink>Layout>Flexbox Blink>Layout>Grid
BTW, it happens the same if we use grid layout ("inline-grid" in this case) instead of flexbox.

Comment 2 by r...@igalia.com, Sep 26 2016

Description: Show this description

Comment 3 by r...@igalia.com, Sep 26 2016

Cc: -jfernandez@chromium.org -r...@chromium.org jfernan...@igalia.com r...@igalia.com

Comment 4 by drott@chromium.org, Oct 3 2016

Status: Available (was: Untriaged)
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 3 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Oct 3

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment