[Webkit-unassigned] [Bug 259880] New: Subgrid renders without gaps if the parent grids gaps are defined as percentages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 7 03:06:57 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259880

            Bug ID: 259880
           Summary: Subgrid renders without gaps if the parent grids gaps
                    are defined as percentages
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Intel)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rkling-secondary at hotmail.com

Created attachment 467211

  --> https://bugs.webkit.org/attachment.cgi?id=467211&action=review

Reduced test case for gap rendering an 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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230807/7c73dac1/attachment.htm>


More information about the webkit-unassigned mailing list