Bug 145983 - Web Inspector: Consider making read-only style rules have a darker background
Summary: Web Inspector: Consider making read-only style rules have a darker background
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.10
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-15 12:52 PDT by Chris Chiera
Modified: 2015-06-22 10:54 PDT (History)
8 users (show)

See Also:


Attachments
Patch (2.11 KB, patch)
2015-06-20 18:14 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff
[Image] After the patch applied (76.18 KB, image/png)
2015-06-20 18:20 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Chiera 2015-06-15 12:52:58 PDT
On iOS 8.1 Mac 10.11.

In Chrome, rules that are not editable such as "User Agent Stylesheet" have a darkened background so at quick glance you know the rules aren't editable and look distinct from the surrounding rules that are editable. In Safari the rules look identical including the background color with the exception of a little lock icon in the right. While I think the lock icon follows Apple's design aesthetic and can be there, but the background of the uneducable rules should be the Safari header gray rather than White like Chrome to make it instantly clear it's not editable.
Comment 1 Radar WebKit Bug Importer 2015-06-15 12:53:31 PDT
<rdar://problem/21388092>
Comment 2 Nikita Vasilyev 2015-06-20 18:14:17 PDT
Created attachment 255304 [details]
Patch

I think this would be a positive change.
Comment 3 Nikita Vasilyev 2015-06-20 18:20:55 PDT
Created attachment 255305 [details]
[Image] After the patch applied
Comment 4 WebKit Commit Bot 2015-06-22 10:54:30 PDT
Comment on attachment 255304 [details]
Patch

Clearing flags on attachment: 255304

Committed r185836: <http://trac.webkit.org/changeset/185836>
Comment 5 WebKit Commit Bot 2015-06-22 10:54:34 PDT
All reviewed patches have been landed.  Closing bug.