Open
Bug 1150506
Opened 10 years ago
Updated 2 years ago
Add a way to measure distances in the box-model inspector tab
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: pbro, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
8.83 KB,
image/png
|
Details |
Part of meta bug 1150496.
Allow to quickly calculate the distance between any 2 box-model regions.
Say you want to know how much the content + horizontal padding amounts to.
Clicking on any region could start a sort of measuring tool, and clicking again on another region would give the distance between these 2 boxes, annotated with an arrow and label, kind of like a blueprint.
Comment 1•9 years ago
|
||
I believe there is only a need for measuring the sizes starting from the content box, so e.g. content + padding, but not for e.g. border + margin.
Patrick, what's the use case for measuring only parts of the box model?
A better approach for this, IMO, would be to display the cumulated size within the highlighter or somewhere besides the box model on hover. So, hovering the margin box would calculate the width and height of content + padding + border + margin and display them.
Sebastian
Flags: needinfo?(pbrosset)
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Sebastian Zartner [:sebo] from comment #1)
> A better approach for this, IMO, would be to display the cumulated size
> within the highlighter or somewhere besides the box model on hover. So,
> hovering the margin box would calculate the width and height of content +
> padding + border + margin and display them.
That sounds pretty good! Thanks Sebastian.
Flags: needinfo?(pbrosset)
Priority: -- → P3
Updated•8 years ago
|
QA Contact: cristian.comorasu
Comment 3•7 years ago
|
||
Technical drawings use some measuring areas to display sizes. Here's a mockup showing how this could look like applied to the box model when hovering the margin area.
Sebastian
Reporter | ||
Updated•7 years ago
|
Severity: normal → enhancement
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•