Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[masonry] Expose grid items positions and sizes to Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=267736 rdar://problem/121219933 Reviewed by Sammy Gill. Masonry differs from Grid in only having one axis. This does not allow simple drawing straight lines. The Web Inspector can instead draw boxes around each item, which this patch is exposing in a simpler format. This patch is not exclusive to masonry and can be used for all returning all grid items layout rects. * Source/WebCore/rendering/RenderGrid.cpp: (WebCore::RenderGrid::gridItemsLayoutRects): * Source/WebCore/rendering/RenderGrid.h: Canonical link: https://commits.webkit.org/273232@main
- Loading branch information