[Webkit-unassigned] [Bug 142906] New: Wrong layout when using flexbox columns model

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 20 04:55:47 PDT 2015


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

            Bug ID: 142906
           Summary: Wrong layout when using flexbox columns model
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: raqy.style at gmail.com

Created attachment 249106
  --> https://bugs.webkit.org/attachment.cgi?id=249106&action=review
Incorrect behaviour of flex-container with column flow

Dear Sir or Madam,

First of all, I want to express my gratitude for your work!

Recently, I was working on flexbox layout. Here is what I have got: http://jsbin.com/xojopa. ".section" element uses flexbox column layout. As you can see, ".card"s do not extend parent ".section" element. Although, according to W3C spec (http://www.w3.org/TR/css-flexbox-1/#flex-flow-property) it should. I mean, a ".section" element has it's height and it specified that elements should be wrapped. It means, that in the example I provided, ".section" element should be stretched according to it's content. The same as if we had normal, horizontal flow and parent element stretched according to it's content.

I have to admit that W3C doesn't say anything explicitly about this case. However, according to the picture they provide (http://www.w3.org/TR/css-flexbox-1/images/flex-flow2.svg) current behaviour (the one I provided in the example) is incorrect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150320/af18b2bb/attachment-0002.html>


More information about the webkit-unassigned mailing list