Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ee295e3dba5eb4080dd80a45fdeeeef940613aee
https://github.com/WebKit/WebKit/commit/ee295e3dba5eb4080dd80a45fdeeeef940613aee
Author: Brandon Stewart <[email protected]>
Date: 2025-12-22 (Mon, 22 Dec 2025)
Changed paths:
M Source/WebCore/inspector/InspectorOverlay.cpp
Log Message:
-----------
Web Inspector: Show gap overlays between items in masonry axis for grid-lanes
layouts
https://bugs.webkit.org/show_bug.cgi?id=304579
rdar://problem/166984079
Reviewed by Devin Rousso.
For grid-lanes (masonry) layouts, the grid overlay now shows gaps between
items in the masonry axis direction. Previously, only the bounding lines
of the masonry axis were drawn, with no gap visualization between items.
The implementation collects all grid items and their bounding boxes, groups
them by their grid axis track, sorts them by position in the masonry axis,
and draws gap regions between consecutive items within each track.
* Source/WebCore/inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::buildGridOverlay):
Canonical link: https://commits.webkit.org/304861@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications