Open
Bug 1249569
Opened 9 years ago
Updated 2 years ago
Filter Computed panel by clicking on values within box model
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: sebo, Unassigned)
References
(Blocks 1 open bug)
Details
User Story
You want to get to know how the values of the box model got computed.
The values shown within the box model should link to the Computed panel and filter the properties there to only show the related value.
This may be done via a context menu or Ctrl + click or something like that.
Example implementation:
Right-clicking the right border within the box model and choosing 'Show computation stack' (the name could probably be better) switches to the Computed side panel, adds a filter so that only 'border-right' (and maybe also 'border-inline-end' resp. 'border-inline-start') is shown and expanded.
Sebastian
Comment 2•8 years ago
|
||
The new UI spec in bug 1150496 shows related attributes below the box model, does that sufficient?
Flags: needinfo?(sebastianzartner)
Reporter | ||
Comment 3•8 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #2)
> The new UI spec in bug 1150496 shows related attributes below the box model,
> does that sufficient?
No, because you still need to search for the margin, border, padding and content properties manually. So, I'm marking this as blocker for bug 1150496.
The use case is to quickly find out about how the values got computed.
I see this as a first step towards a detailed computation info, which answers questions like "Why is this element 100 pixels high when I didn't set any height on it?". The answer to this can be quite complex, like "Because you set 'display: flex;' and 'height: 100px;' on the parent element and the initial value for 'align-items' is 'stretch', which makes it's height stretch over the whole height of the parent element."
Sebastian
Flags: needinfo?(sebastianzartner)
Summary: Filter Computed panel by clicking on values within Box Model panel → Filter Computed panel by clicking on values within box model
Updated•8 years ago
|
QA Contact: cristian.comorasu
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
•