<?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>266506</bug_id>
          
          <creation_ts>2023-12-15 14:17:42 -0800</creation_ts>
          <short_desc>[css-grid][css-contain] grid with size containment and min-height not sizing row correctly</short_desc>
          <delta_ts>2023-12-19 09:42:07 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=260201</see_also>
    
    <see_also>https://github.com/web-platform-tests/wpt/pull/43719</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sammy Gill">sgill26</reporter>
          <assigned_to name="Sammy Gill">sgill26</assigned_to>
          <cc>bfulgham</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>2000032</commentid>
    <comment_count>0</comment_count>
      <attachid>469073</attachid>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-12-15 14:17:42 -0800</bug_when>
    <thetext>Created attachment 469073
Testcase

In the attached example, the text does not end up getting to the bottom of the grid. This is because we are not properly flexing the track. Gecko and Blink both end up aligning the text to the bottom of the grid Removing the &quot;contain: size&quot; style creates the expected rendering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000033</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-15 14:17:57 -0800</bug_when>
    <thetext>&lt;rdar://problem/119736473&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000543</commentid>
    <comment_count>2</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-12-18 14:47:44 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43719</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000570</commentid>
    <comment_count>3</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-12-18 15:53:17 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21995</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000744</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-19 09:42:05 -0800</bug_when>
    <thetext>Committed 272276@main (57fdd17822df): &lt;https://commits.webkit.org/272276@main&gt;

Reviewed commits have been landed. Closing PR #21995 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>469073</attachid>
            <date>2023-12-15 14:17:42 -0800</date>
            <delta_ts>2023-12-15 14:17:42 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>contain-size-grid-with-flex-row.html</filename>
            <type>text/html</type>
            <size>186</size>
            <attacher name="Sammy Gill">sgill26</attacher>
            
              <data encoding="base64">CjxzdHlsZT4KZ3JpZCB7CiAgICBkaXNwbGF5OiBncmlkOwogICAgbWluLWhlaWdodDogMTAwc3Zo
OwogICAgZ3JpZC10ZW1wbGF0ZS1yb3dzOiAxZnI7CiAgICBjb250YWluOiBzaXplOwogICAgYWxp
Z24taXRlbXM6IGxhc3QgYmFzZWxpbmU7Cn0KPC9zdHlsZT4KPGdyaWQ+CiAgICA8ZGl2PkhlbGxv
PC9kaXY+CjwvZ3JpZD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>