Unreviewed, rolling out r210069.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Dec 2016 01:23:15 +0000 (01:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Dec 2016 01:23:15 +0000 (01:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=166439

This patch makes all properties in Computed Styles strike-
through when switching from the Rules panel. (Requested by NVI
on #webkit).

Reverted changeset:

"Web Inspector: Uncommenting CSS properties doesn't work for
inline styles"
https://bugs.webkit.org/show_bug.cgi?id=166297
http://trac.webkit.org/changeset/210069

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js

index bb17713..b38c345 100644 (file)
@@ -1,3 +1,19 @@
+2016-12-22  Commit Queue  <commit-queue@webkit.org>
+
+        Unreviewed, rolling out r210069.
+        https://bugs.webkit.org/show_bug.cgi?id=166439
+
+        This patch makes all properties in Computed Styles strike-
+        through when switching from the Rules panel. (Requested by NVI
+        on #webkit).
+
+        Reverted changeset:
+
+        "Web Inspector: Uncommenting CSS properties doesn't work for
+        inline styles"
+        https://bugs.webkit.org/show_bug.cgi?id=166297
+        http://trac.webkit.org/changeset/210069
+
 2016-12-22  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Styles sidebar: Uncommenting CSS rules of pseudo-elements doesn't work
index 9c80658..9ed768b 100644 (file)
@@ -1403,7 +1403,6 @@ WebInspector.CSSStyleDeclarationTextEditor = class CSSStyleDeclarationTextEditor
         // Reset the content if the text is different and we are not focused.
         if (!this.focused && (!this._style.text || this._style.text !== this._formattedContent())) {
             this._resetContent();
-            this._updateTextMarkers();
             return;
         }