Bug 160942 - Web Inspector: Reorder Styles - Computed to make viewing the metrics of an element easier
Summary: Web Inspector: Reorder Styles - Computed to make viewing the metrics of an el...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-08-17 10:27 PDT by Devin Rousso
Modified: 2016-08-22 12:00 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.72 KB, patch)
2016-08-17 10:31 PDT, Devin Rousso
mattbaker: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2016-08-17 10:27:14 PDT
I often find that when I switch to the Computed Styles panel I want to see the computed box model values for the selected element.  This is sometimes difficult when there are a lot of properties (especially since the introduction of CSS variables).  Since the Box Model section is a fixed height, it would make more sense to have it be first.
Comment 1 Radar WebKit Bug Importer 2016-08-17 10:27:37 PDT
<rdar://problem/27888526>
Comment 2 Devin Rousso 2016-08-17 10:31:33 PDT
Created attachment 286305 [details]
Patch
Comment 3 Nikita Vasilyev 2016-08-17 11:20:45 PDT
I'm not sure I like it. I use computed styles quite often but I rarely use Box Model section, so for me this change makes things more difficult.
Comment 4 Devin Rousso 2016-08-17 11:22:40 PDT
(In reply to comment #3)
> I'm not sure I like it. I use computed styles quite often but I rarely use
> Box Model section, so for me this change makes things more difficult.

If you don't use the Box Model section, you could always minimize it.  I am just trying to make it slightly easier for those (like me) who want simple access to computed box model metrics without having to scroll a potentially long list of properties.
Comment 5 Matt Baker 2016-08-17 13:08:51 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > I'm not sure I like it. I use computed styles quite often but I rarely use
> > Box Model section, so for me this change makes things more difficult.
> 
> If you don't use the Box Model section, you could always minimize it.

Isn't this true of the computed styles panel too? I use computed style very frequently, and the Box Model section very rarely. I don't think this change is necessary.
Comment 6 Matt Baker 2016-08-17 13:10:09 PDT
Comment on attachment 286305 [details]
Patch

I don't think there are enough benefits to justify this change.
Comment 7 Nikita Vasilyev 2016-08-22 12:00:28 PDT
Closing as per Matt's comment.