Bug 268595

Summary: Nested subgrid causes page to hang
Product: WebKit Reporter: Mendel Gordon <mendelgordons>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, karlcow, rik, sgill26, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=232176
https://bugs.webkit.org/show_bug.cgi?id=271083
Attachments:
Description Flags
Basic html you can use to replicate the issue none

Mendel Gordon
Reported 2024-02-01 18:25:48 PST
Created attachment 469668 [details] Basic html you can use to replicate the issue I'm trying to use a nested subgrid and the page won't load on safari on my mac or my iphone. I tested it on webkit-main and it won't load there either - the page just hangs. I'm trying to have the header overlap the hero, and make everything else below them, but not have the rest of the items overlap. Opening the attached html works fine in chrome and firefox but won't open in webkit and or safari.
Attachments
Basic html you can use to replicate the issue (1.62 KB, text/html)
2024-02-01 18:25 PST, Mendel Gordon
no flags
Mendel Gordon
Comment 1 2024-02-01 18:29:47 PST
Loading this html in safari or webkit doesn't work either - it's a simpler version: <style> #a { display: grid; } #a div { display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-row: 1/99; } </style> <div id="a"> <div id="b"> <div id="c"> <div id="d"> <div id="e"> <div style="width: 100px; height: 100px; background-color: red"></div> </div> </div> </div> </div> </div> Here's a screenshot showing how the page loads in chrome and firefox but not webkit: https://shottr.cc/s/VTFo/SCR-20240201-um9.jpeg The webkit windows on the right are just showing the page they were on before I tried navigating to the problematic code.
Radar WebKit Bug Importer
Comment 2 2024-02-08 18:26:25 PST
Note You need to log in before you can comment on or make changes to this bug.