Web Inspector: Visual styles panel does not work with pseudo-elements
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Aug 2015 05:03:06 +0000 (05:03 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Aug 2015 05:03:06 +0000 (05:03 +0000)
commit733700dcd953b48b8e9e1245e9814685e782f210
treef94559a424065ac026482095e41dd0bcf7512f6e
parent5582b800b1d7c0dbcaaf0f4d8d18b277faf7cbe8
Web Inspector: Visual styles panel does not work with pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=148187

Reviewed by Timothy Hatcher.

If the inline style does not exist, such as for pseudo-elements, default to the first matched rule.

* UserInterface/Views/VisualStyleSelectorSection.js:
(WebInspector.VisualStyleSelectorSection.prototype.update):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/VisualStyleSelectorSection.js