<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>110920</bug_id>
          
          <creation_ts>2013-02-26 15:54:38 -0800</creation_ts>
          <short_desc>In Flexbox, allow intrinsic aspect ratios to inform the main-size calculation</short_desc>
          <delta_ts>2020-11-16 02:54:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>62048</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Chang">tony</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>m.goleb+bugzilla</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>842469</commentid>
    <comment_count>0</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-02-26 15:54:38 -0800</bug_when>
    <thetext>According to http://dev.w3.org/csswg/css3-flexbox/#algo-main-item :

If flex item has an intrinsic aspect ratio, the flex item has ‘align-self: stretch’, the flex basis and cross size are both ‘auto’ , and the flex container is single-line and has a definite cross size, the flex base size is computed from the flex container&apos;s inner cross size (clamped to the flex item’s min and max cross size) and the flex item’s intrinsic aspect ratio.

This was recently added to the spec, but I don&apos;t think we handle it properly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1707751</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2020-11-16 02:54:49 -0800</bug_when>
    <thetext>This was done some time ago. It isn&apos;t working completely ok yet (see bug 199583 or bug 209983 for example) but we&apos;re closer now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>