<?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>268539</bug_id>
          
          <creation_ts>2024-02-01 03:35:15 -0800</creation_ts>
          <short_desc>CSS subgrid fails on scroll containers</short_desc>
          <delta_ts>2024-02-08 04:30:38 -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>CSS</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>267085</dup_id>
          
          <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="Jake Archibald">jaffathecake</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>mendelgordons</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>2009678</commentid>
    <comment_count>0</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2024-02-01 03:35:15 -0800</bug_when>
    <thetext>https://codepen.io/jaffathecake/pen/RwdMgGV

The subgrid applies in Chrome and Firefox, but doesn&apos;t seem to apply in Safari (you get a single column).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009833</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-01 12:20:48 -0800</bug_when>
    <thetext>&lt;rdar://problem/122122998&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009856</commentid>
    <comment_count>2</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2024-02-01 13:31:01 -0800</bug_when>
    <thetext>To be clear, I haven&apos;t managed to confirm which behaviour is expected. I personally expected the Chrome/Firefox behaviour, but I haven&apos;t managed to figure the spec out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009861</commentid>
    <comment_count>3</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2024-02-01 13:37:46 -0800</bug_when>
    <thetext>Hi Jake,

I believe this issue may have been resolved by https://commits.webkit.org/273134@main

Does this bug reproduce in the iOS 17.4 beta?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009862</commentid>
    <comment_count>4</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2024-02-01 13:40:42 -0800</bug_when>
    <thetext>(or the macOS 14.4 beta)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009881</commentid>
    <comment_count>5</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2024-02-01 14:22:39 -0800</bug_when>
    <thetext>I don&apos;t have access to betas, but the commit message sounds like it might fix the issue. Cam you test with the demo provided?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009974</commentid>
    <comment_count>6</comment_count>
    <who name="Mendel Gordon">mendelgordons</who>
    <bug_when>2024-02-01 17:59:56 -0800</bug_when>
    <thetext>I just tested this in the latest webkit-main and the issue seems to be resolved!
In the current version of safari it&apos;s not, so it seems like the changes made to webkit here fixed it, and once that version of webkit is used in safari it should be fixed there as well.
Here is a screenshot of what I see - minibrowser on the left and safari on the right:
https://shottr.cc/s/Vw9i/SCR-20240201-u2p.png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010041</commentid>
    <comment_count>7</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2024-02-02 00:30:22 -0800</bug_when>
    <thetext>Looks like it&apos;s already fixed! Any idea when it might land in Safari? It&apos;s not in TP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011558</commentid>
    <comment_count>8</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2024-02-07 15:14:15 -0800</bug_when>
    <thetext>According to today&apos;s STP release notes this change should be picked up: https://webkit.org/blog/15026/release-notes-for-safari-technology-preview-188/

Please let us know if you can still reproduce the bug even in the latest STP!

*** This bug has been marked as a duplicate of bug 267085 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011708</commentid>
    <comment_count>9</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2024-02-08 04:30:38 -0800</bug_when>
    <thetext>Confirmed! The demo now works perfectly. Thank you!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>