[Webkit-unassigned] [Bug 118639] New: A (column) flexbox should take min-height into account for sizing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 12 23:54:48 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118639

           Summary: A (column) flexbox should take min-height into account
                    for sizing
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: hyatt at apple.com, bdakin at apple.com,
                    simon.fraser at apple.com, dino at apple.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list