Bug 259880 - Subgrid renders without gaps if the parent grids gaps are defined as percentages
Summary: Subgrid renders without gaps if the parent grids gaps are defined as percentages
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-07 03:06 PDT by rkling-secondary
Modified: 2023-08-29 00:17 PDT (History)
5 users (show)

See Also:


Attachments
Reduced test case for gap rendering on a subgrid (505 bytes, text/html)
2023-08-07 03:06 PDT, rkling-secondary
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkling-secondary 2023-08-07 03:06:57 PDT
Created attachment 467211 [details]
Reduced test case for gap rendering on a subgrid

Subgrids are rendered without gaps, if the parent grid uses percentage values for gaps, and the subgrid doesn't have its own gaps explicitly defined.

This is the case, when I want a subgrid to span multiple columns of the parent grid, but not all of them. If the parent grid has its column gap defined as a percentage, that will be relative to the width of the parent grid. For the subgrid to match the layout of the parent grid, it must implicitly use the same gaps.

I attached a reduced test case.

I tested this in Safari 16.5.1 (Webkit 605.1.15) as well as Safari 16.6 (615.3.12)
Comment 1 Radar WebKit Bug Importer 2023-08-14 03:07:12 PDT
<rdar://problem/113844843>