Feature: Hover over a CSS property/selector to highlight nodes impacted by it in page
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: victoria, Unassigned)
References
Details
We want to increase the association between CSS rules/declarations and the effect they have in the page by adding an in-page highlight effect when hovering over the relevant CSS.
This could apply to a lot of different declarations. It would be great to start with these:
selector (highlight all matching elements)
margin (use yellow color from box model)
padding (use purple color from box model)
Other possibilities:
font-family - highlight all text using the active font
display:flex - show flex container overlay
width/height
media queries
alignment properties
etc
Reporter | ||
Comment 1•6 years ago
|
||
As part of this we'll want a hover background color for selectors/declarations. It should match the markup hover highlight.
This is somewhat related to https://bugzilla.mozilla.org/show_bug.cgi?id=1537666
Updated•5 years ago
|
Comment 2•3 years ago
|
||
This looks very much like bug 942176 (and the bugs blocking it) to me. Not all things mentioned here are covered there yet, though I could create more blocking bugs for them.
Victoria, do you agree that this is a duplicate of the other bug?
Sebastian
Reporter | ||
Comment 3•3 years ago
|
||
Ah yes, good point, that is very similar! I can write a comment in the other bug to mention the extra cases.
Reporter | ||
Updated•3 years ago
|
Description
•