<?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>243173</bug_id>
          
          <creation_ts>2022-07-25 12:17:55 -0700</creation_ts>
          <short_desc>Update intrinsic sizing of flex containers (e.g. container max-content width) to new spec text</short_desc>
          <delta_ts>2025-03-21 02:21:41 -0700</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>WebKit 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=119113</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=289961</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Grogan">dgrogan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>karlcow</cc>
    
    <cc>sgill26</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1886545</commentid>
    <comment_count>0</comment_count>
    <who name="David Grogan">dgrogan</who>
    <bug_when>2022-07-25 12:17:55 -0700</bug_when>
    <thetext>All of the engines currently implement the same intrinsic size algorithm for flex containers, but it is not a good algorithm and it is not specified. Authors really want a better algorithm, and the spec calls for one in https://drafts.csswg.org/css-flexbox/#intrinsic-sizes.

Blink is planning to launch the new algorithm in the next few months, and it&apos;d be great if the engines could sync up shipping to minimize breakage. We&apos;ve talked about that some on the Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1055887.

I didn&apos;t see an existing WebKit bug for this, apologies if I missed it.

The chrome bugs for this are https://crbug.com/240765 and https://crbug.com/507397, which are the most starred flex bugs in our tracker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886546</commentid>
    <comment_count>1</comment_count>
    <who name="David Grogan">dgrogan</who>
    <bug_when>2022-07-25 12:18:26 -0700</bug_when>
    <thetext>Oh, the new algorithm would probably supersede this bug about the old algorithm https://bugs.webkit.org/show_bug.cgi?id=119113</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886675</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-25 19:42:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/97583061&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>