<?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>311942</bug_id>
          
          <creation_ts>2026-04-10 09:47:59 -0700</creation_ts>
          <short_desc>[Grid] Crash under GridTrackSizingAlgorithm::copyUsedTrackSizesForSubgrid when paint containment changes on subgrid</short_desc>
          <delta_ts>2026-04-10 16:47:06 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/59106</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>2198836</commentid>
    <comment_count>0</comment_count>
      <attachid>478996</attachid>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-04-10 09:47:59 -0700</bug_when>
    <thetext>Created attachment 478996
Testcase

The following test case triggers a RELEASE_ASSERT in GridTrackSizingAlgorithm::copyUsedTrackSizesForSubgrid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198837</commentid>
    <comment_count>1</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-04-10 09:48:22 -0700</bug_when>
    <thetext>rdar://172724120</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198846</commentid>
    <comment_count>2</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-04-10 10:00:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62421</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198872</commentid>
    <comment_count>3</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2026-04-10 10:52:55 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59106</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2199015</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-10 16:47:03 -0700</bug_when>
    <thetext>Committed 310968@main (2cc90f478c7e): &lt;https://commits.webkit.org/310968@main&gt;

Reviewed commits have been landed. Closing PR #62421 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>478996</attachid>
            <date>2026-04-10 09:47:59 -0700</date>
            <delta_ts>2026-04-10 09:47:59 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>subgrid-paint-containment-change-crash.html</filename>
            <type>text/html</type>
            <size>437</size>
            <attacher name="Sammy Gill">sgill26</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8ZGl2IHN0eWxlPSJkaXNwbGF5OiBncmlkIj4KICA8ZGl2IGlkPSJjaGFu
Z2UiIHN0eWxlPSJkaXNwbGF5OiBncmlkOyBncmlkLXRlbXBsYXRlLXJvd3M6IHN1YmdyaWQgW2Fd
IFtiXSBbY107Ij4KICAgIDxkaXY+b25lPC9kaXY+CiAgICA8Zm9vIHN0eWxlPSJkaXNwbGF5OiBn
cmlkOyBncmlkLXRlbXBsYXRlLXJvd3M6IHN1YmdyaWQgW2FdIFtiXSBbY107Ij4KICAgICAgPGJh
ciBpZD0ieCI+dHdvPC9iYXI+CiAgICA8L2Zvbz4KICA8L2Rpdj4KPC9kaXY+CjwvYm9keT4KPHNj
cmlwdD4KICBkb2N1bWVudC5ib2R5Lm9mZnNldEhlaWdodDsKICB4LnN0eWxlLmJvcmRlciA9ICIx
cHggc29saWQgcmVkIjsKICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgiY2hhbmdlIikuc3R5bGUu
Y29udGFpbiA9ICdwYWludCc7Cjwvc2NyaXB0Pgo8L2h0bWw+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>