WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164946
Vertical (column) flexbox does not correctly position resized elements after flex elements
https://bugs.webkit.org/show_bug.cgi?id=164946
Summary
Vertical (column) flexbox does not correctly position resized elements after ...
Keanu Lee
Reported
2016-11-18 12:27:41 PST
In vertical flexbox (e.g. `display: flex; flex-direction: column`), fixed-sized elements (i.e. not flex) that are placed after a flex-sized elements are not repositioned if their size has changed (e.g. by setting the text content of the fixed-sized element). In this example, the bottom fixed-sized div gets it's text (and thus given height) after initially layout which is not accounted for (as of WebKit Nightly
r208586
):
http://jsbin.com/hururo/edit?html,output
Expected: The flex-sized element is resized, and the text appears inside the box. Actual: The text appears outside the box.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-12-01 12:37:40 PST
<
rdar://problem/29464651
>
Dave Hyatt
Comment 2
2016-12-06 14:41:06 PST
This is some kind of invalidation issue, since resizing (e.g., via Command +) fixes the layout to be correct.
Dave Hyatt
Comment 3
2017-02-28 10:35:23 PST
Fixed by changes to merge in with Blink code.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug