WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
118639
A (column) flexbox should take min-height into account for sizing
https://bugs.webkit.org/show_bug.cgi?id=118639
Summary
A (column) flexbox should take min-height into account for sizing
Ryosuke Niwa
Reported
2013-07-12 23:56:50 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/1a8ed26a737c8eb3544e5241d638c872f2a0058a
Per
http://dev.w3.org/csswg/css-flexbox/#intrinsic-sizes
"The max-content main size of a flex container is the sum of the flex container's items' max-content contributions. The min-content main size of a single-line flex container is the sum of the flex container's items' min-content contributions" "The main-size min-content/max-content contribution of a flex item is its outer hypothetical main size when sized under a min-content/max-content constraint (respectively)." plus 9.2: "The hypothetical main size is the item's flex base size clamped according to its min and max main size properties." Therefore, when we calculate containerMainInnerSize, we should use sumHypotheticalMainSize instead of sumFlexBaseSize.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-26 01:28:45 PDT
This patch is not required because Webkit GitHub Code already matches with this one:
https://github.com/WebKit/WebKit/blob/4ccdb2ac7f7c989dd9d92ec1c42dccc44ef21b6a/Source/WebCore/rendering/RenderFlexibleBox.cpp
# LayoutUnit containerMainInnerSize = mainAxisContentExtent(sumHypotheticalMainSize); I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks!
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