REGRESSION(r240946): Web Inspector: Styles: removing selected property doesn't update...
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2019 22:09:27 +0000 (22:09 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2019 22:09:27 +0000 (22:09 +0000)
commit8d266351b49bb28a7e9ffaae8229f950b06ba5a4
treed93b98f923b413afb68cf3f0daebcb46c955915b
parent0356c6a5c61be8d238315f52599bbd4da9adf170
REGRESSION(r240946): Web Inspector: Styles: removing selected property doesn't update overridden status
https://bugs.webkit.org/show_bug.cgi?id=195389
<rdar://problem/48658929>

Reviewed by Matt Baker.

Source/WebInspectorUI:

* UserInterface/Models/DOMNodeStyles.js:
(WI.DOMNodeStyles.prototype.changeStyleText):
Call DOMNodeStyles.prototype.refresh after the callback. No updates
to CSSStyleDeclaration happen until the callback is called.

LayoutTests:

* inspector/css/overridden-property-expected.txt: Added.
* inspector/css/overridden-property.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/css/overridden-property-expected.txt [new file with mode: 0644]
LayoutTests/inspector/css/overridden-property.html [new file with mode: 0644]
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js