[Bug 17475] New: http://lists.w3.org/Archives/Public/www-style/2012Jun/0200.html

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17475

           Summary: http://lists.w3.org/Archives/Public/www-style/2012Jun/
                    0200.html
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Flexbox
        AssignedTo: jackalmage@gmail.com
        ReportedBy: alexmog@microsoft.com
         QAContact: public-css-bugzilla@w3.org
                CC: dbaron@dbaron.org, alexmog@microsoft.com


Hypothetical main size determination in flex layout algorithm [1] has
unnecessary assymetry wrt flex items parallel vs. orthogonal to main axis. The
distinction is not useful, because (1) items in parallel writing mode can have
orthogonal content and (2) there are other reasons for item layout to behave
similar to orthogonal writing mode, e.g. a multiline flexbox with orthogonal
main axis.

What matters is dependency of content max-size an min-size on cross size of
flex container.

The two bullet items on laying out items in available space should be replaced
with following:

<algorithm>
Otherwise, lay out the item using available space with following dimensions: 

* On main axis: 
    - if flex-basis is auto: infinite
    - if flex-basis ‘fit-available’ or ‘fit-content’:  
      flex-container’s main size, constrained by its 
      min and max size.

* On cross axis:  flex container’s cross size, constrained 
  by its min and max size.

The flex base size is the item's resulting measure.
</algorithm>

[1] http://dev.w3.org/csswg/css3-flexbox/#hypothetical-main-size

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 12 June 2012 21:56:26 UTC