Bug 160942

Summary: Web Inspector: Reorder Styles - Computed to make viewing the metrics of an element easier
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED WONTFIX    
Severity: Normal CC: bburg, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch mattbaker: review-

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.