You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments