<?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>116117</bug_id>
          
          <creation_ts>2013-05-14 12:35:24 -0700</creation_ts>
          <short_desc>Flexbox preferred logical width computation algorithm incorrectly ignores flex-basis</short_desc>
          <delta_ts>2024-01-13 17:22:30 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=244051</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>cbiesinger</cc>
    
    <cc>rreno</cc>
    
    <cc>sgill26</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>888976</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2013-05-14 12:35:24 -0700</bug_when>
    <thetext>The preferred logical widths algorithm for flexbox needs to take flex-basis into account. Note it can&apos;t do that, though, until the spec changes to make 0 not be the default or content will break.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892003</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-08-17 12:13:37 -0700</bug_when>
    <thetext>The algorithm has changed since this bug was created. See:

https://crbug.com/240765
https://github.com/w3c/csswg-drafts/issues/7189

I haven&apos;t read the spec closely yet nor that issue thread but I suspect this bug will be resolved by implementing the new spec text for the main axis width algorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892004</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-17 12:14:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/98793922&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892005</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-08-17 12:17:14 -0700</bug_when>
    <thetext>WPT failures:
https://wpt.fyi/results/css/css-flexbox/intrinsic-size?label=experimental&amp;label=master&amp;aligned

We&apos;re only passing 2 of these tests.
Also need to do a WPT sync as there are more tests than we have in tree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892121</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2022-08-17 20:01:24 -0700</bug_when>
    <thetext>WPT sync landed in https://commits.webkit.org/253547@main

So now there&apos;s a target to hit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>