[discussion] Should we keep the boxmodel in the computed view when the layout panel is enabled

NEW
Unassigned

Status

()

Firefox
Developer Tools: Inspector
P3
enhancement
8 months ago
5 months ago

People

(Reporter: jdescottes, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Title says most of it. 

We currently have duplicated box-model widget in both the layout & computed views. It's confusing, users can't easily tell where they are since both panels look the same etc...

Does anyone share this concern? Do we plan to take a decision here before shipping the layout panel? 

I can see a few options:
- simply remove the box-model widget from the computed view
- hide the box-model widget from the computed view if and only if the layout panel is enabled
As I recall, the original idea was to have a simple box-model widget in the computed-view, something you can quickly look at to find computed values for the margin, border, padding, content. And the layout panel would contain a much more interesting view of it, with more properties, more information, but which would occupy more room too.
Created attachment 8852497 [details]
layout_vs_computed_panel.gif

My main issue is that when the devtools are docked to the bottom, both panels look identical at first glance.

Here's a GIF to illustrate this. But if I'm the only one finding this confusing, feel free to close!
No, you're not the only one who's confused by the similarity between the two panels :-)
(Reporter)

Updated

8 months ago
Severity: normal → enhancement
Priority: -- → P3

Updated

6 months ago
No longer blocks: 1347964

Comment 4

5 months ago
How about making the box model section in the computed view a link to the layout view ?

Something like this:

Rules | [Computed] | Layout | Animations
---------------------------------------
[ Filter Styles      ][ ] Browser styles
---------------------------------------
Box model                           >
---------------------------------------
...

Or an infobar like in the Layout panel:

(i) The box-model view has moved to the [layout panel]      (x)
You need to log in before you can comment on or make changes to this bug.