RESOLVED FIXED 146031
Web Inspector: Make rule icon toggle all properties for that selector on and off
https://bugs.webkit.org/show_bug.cgi?id=146031
Summary Web Inspector: Make rule icon toggle all properties for that selector on and off
Devin Rousso
Reported 2015-06-16 15:27:28 PDT
I think that it would be really useful to make the selector icon toggle all the properties in that rule on/off (using comments) when clicked. Basically, clicking on the icon will cause all the properties for that rule to be commented out and the icon will become slightly opaque. Clicking on the icon again will remove the comments on all properties and restore the icon to full visibility. In addition, this will preserve non-property comments.
Attachments
Patch (7.38 KB, patch)
2015-06-16 15:32 PDT, Devin Rousso
no flags
Patch (7.43 KB, patch)
2015-06-18 13:41 PDT, Devin Rousso
no flags
Patch (7.46 KB, patch)
2015-06-19 11:44 PDT, Devin Rousso
timothy: review+
timothy: commit-queue+
Radar WebKit Bug Importer
Comment 1 2015-06-16 15:27:44 PDT
Devin Rousso
Comment 2 2015-06-16 15:32:42 PDT
Timothy Hatcher
Comment 3 2015-06-18 11:12:19 PDT
Comment on attachment 254972 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=254972&action=review > Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.css:72 > + cursor: pointer; This should be a normal cursor. We can use a hover darkening of the icon to indicate clicking behavior. > Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js:234 > + function uncommentProperties(properties) { Two lines.
Devin Rousso
Comment 4 2015-06-18 13:41:07 PDT
WebKit Commit Bot
Comment 5 2015-06-18 14:53:03 PDT
Comment on attachment 255129 [details] Patch Rejecting attachment 255129 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 255129, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: imothy Hatcher']" exit_code: 255 cwd: /Volumes/Data/EWS/WebKit Parsed 5 diffs from patch file(s). patching file Source/WebInspectorUI/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. Original content of Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js mismatches at /Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply line 280. Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Timothy Hatcher']" exit_code: 255 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.appspot.com/results/5111003557658624
Devin Rousso
Comment 6 2015-06-19 11:44:39 PDT
Joseph Pecoraro
Comment 7 2015-06-19 11:51:49 PDT
Note You need to log in before you can comment on or make changes to this bug.