Help developers with margin collapsing
Categories
(DevTools :: Inspector, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: canuckistani, Unassigned)
References
Details
(Whiteboard: [polish-backlog][difficulty=medium])
Attachments
(2 files)
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Updated•10 years ago
|
Reporter | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Comment 8•8 years ago
|
||
Updated•6 years ago
|
Comment 9•4 years ago
|
||
I was thinking of this recently and just wanted to add some relevant work that we started on (but had to shelve away for now).
It seems we should allow hovering over and selecting a space that is the margin of an element.
The collapsed margin could be emphasized like in this mockup.
Comment 10•4 years ago
|
||
Making it possible to select elements when hovering over their margin area would be great.
I'm wondering what would happen when clicking right where 2 (or more) margins do collapse. Which element would you select then?
I don't think there's a way DevTools can decide for the user. So perhaps presenting the user with a list of collapsing elements is the way to go.
Comment 11•4 years ago
|
||
I'm wondering what would happen when clicking right where 2 (or more) margins do collapse. Which element would you select then?
I don't think there's a way DevTools can decide for the user. So perhaps presenting the user with a list of collapsing elements is the way to go.
One solution: pick the 'prevailing ' element on regular click, and right-click for the list. Attached is my old mockup for this :)
Updated•2 years ago
|
Description
•