Web Inspector: Add "revert" to CSS value autocompletion
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Oct 2015 01:24:33 +0000 (01:24 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Oct 2015 01:24:33 +0000 (01:24 +0000)
commit0d13736af4b2d07e9ddf8ee732d2fa161cf344fe
tree5e07c35ea510832658eb7492248226a9a70f3946
parent8a36f2c999a22538e3c143040c081efecdca4d86
Web Inspector: Add "revert" to CSS value autocompletion
https://bugs.webkit.org/show_bug.cgi?id=150652

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-10-28
Reviewed by Timothy Hatcher.

* UserInterface/Models/CSSCompletions.js:
* UserInterface/Models/CSSKeywordCompletions.js:
(WebInspector.CSSKeywordCompletions.forProperty):
* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel):
(WebInspector.VisualStyleDetailsPanel.prototype._populateDisplaySection):
(WebInspector.VisualStyleDetailsPanel.prototype._populateAlignmentSection):
Treat "revert" like initial and unset. It is valid on all properties.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/CSSCompletions.js
Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js
Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js