RESOLVED FIXED306448
[grid-lanes] Fix grid-lanes-subgrid-002a test to match cross-browser rendering behavior
https://bugs.webkit.org/show_bug.cgi?id=306448
Summary [grid-lanes] Fix grid-lanes-subgrid-002a test to match cross-browser renderin...
Brandon
Reported 2026-01-28 11:43:33 PST
grid-lanes-subgrid-002a -ref and -expected tests are implemented on a grid, which sets the height of items. So items 2 and 3 need to be 40 px as that is the height of the grid row 1. Item 5 is a simple 30px too as that is just the height of the second row. Now the subgrid requires special attention. We first need to calculate the height of the subgrid, which is the row 2 + gap + row 3 heights. Row 2 is a height of 30px, so 4a and 4b I would expect to add up to that. Row 3 is similar a height of 20px, so we need to set 4c. Now, we are losing a single pixel as these seem to be resolving to 29px for row 2 and 19px for row 3 heights.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-01-28 11:43:39 PST
Brandon
Comment 2 2026-01-28 11:45:06 PST
EWS
Comment 3 2026-01-29 05:12:22 PST
Committed 306411@main (7e6b3bf3ceff): <https://commits.webkit.org/306411@main> Reviewed commits have been landed. Closing PR #57428 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.