Grid layout / highlighter for grid lanes isn't correct
Categories
(DevTools :: Inspector: Layout, defect, P2)
Tracking
(Not tracked)
People
(Reporter: nchevobbe, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce
- Go to https://microsoftedge.github.io/Demos/css-masonry/new-york.html
- Open the inspector
- Select the layout panel
- Click on the checkbox before the
mainitem
Actual results
The highlighter doesn't seem to show the right number of rows (not even sure it should have some?)
Same for the small layout visualization below the grid display setting
| Reporter | ||
Comment 1•2 months ago
•
|
||
it would be nice if this could surface flow-tolerance too https://drafts.csswg.org/css-grid-3/#placement-tolerance
we could show which items were tied and for a given "tie item", explain why it was placed in the lane it's in
Updated•1 month ago
|
Comment 2•1 month ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe][PTO - back October 26] from comment #0)
The highlighter doesn't seem to show the right number of rows (not even sure it should have some?)
Well, this layout doesn't have rows, though the row gaps still need to be shown (between the individual items).
Same for the small layout visualization below the grid display setting
The layout visualization should resemble the highlighter, meaning each cell should reflect the individual size of the item within the page.
And hovering it should highlight the referenced grid item.
Sebastian
Comment 3•1 month ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #2)
The layout visualization should resemble the highlighter, meaning each cell should reflect the individual size of the item within the page.
And hovering it should highlight the referenced grid item.
Thinking more about that, the visualization for normal grids also refers to the grid cells, not the grid items. So maybe it should really just show the columns.
On the other hand, it would be useful to have the option to switch between the the grid cells highlighter and a grid item highlighter... But that's out-of-scope.
Sebastian
Description
•