Closed Bug 993459 Opened 10 years ago Closed 10 years ago

[layout view] Move the guides around the region currently hovered in the layout view

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 994729

People

(Reporter: pbro, Unassigned)

Details

(Whiteboard: [good first bug][lang=js][mentor=pbrosset])

Our new box-model highlighter is awesome, and having the guides helps a lot.
The highlighter appears when hovering over the regions in the layout view, but it would help understand better if the guides where displayed around the region currently being hovered.

So, if you currently are hovering over the padding region, it'd be nice to have the guides displayed around the padding region in the highlighter.
I'm going to flag this as a good first bug because, even if there's quite a bit of work to be done, 99% of it has to be done in one file (toolkit/devtools/server/actors/highlighter.js), just making sure the position of the guides defined in the BoxModelHighlighter class can be configured. I have worked on a patch recently that hasn't landed that needed this, so I can provide pretty detailed pointers to whoever feels like working on this bug.
Whiteboard: [good first bug][lang=js][mentor=pbrosset]
Blocks: firebug-gaps
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
No longer blocks: firebug-gaps
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.