Open Bug 1637786 Opened 5 years ago Updated 4 months ago

could inspector show grid coordinates and track widths?

Categories

(DevTools :: Inspector, enhancement, P3)

76 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: v+mozbug, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Clicked on element in inspector

Actual results:

got size parameters

Expected results:

Would be nice if an element in a grid would show, in the box model area, the grid track coordinates, in the form of grid-row: 3 or grid-row: 3 / span 3 and grid-column: 7 or grid-column: 7 / span 2 (the spans could be omitted if only one track). It would be even more wonderful if the track width from grid-template-rows and grid-template-columns could be shown for the track (or tracks) in each dimension, both in pixels, and in the dimensions specified in the grid-template-* CSS.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Inspector
Product: Firefox → DevTools
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.