Title: [138022] trunk/Source/WebCore
Revision
138022
Author
[email protected]
Date
2012-12-18 07:55:01 -0800 (Tue, 18 Dec 2012)

Log Message

Web Inspector: [Styles] Selector matches are not marked after property editing
https://bugs.webkit.org/show_bug.cgi?id=105284

Reviewed by Vsevolod Vlasov.

Once a property edit is committed, the selector markup is reset and needs to be re-applied.

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype.update):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (138021 => 138022)


--- trunk/Source/WebCore/ChangeLog	2012-12-18 15:53:12 UTC (rev 138021)
+++ trunk/Source/WebCore/ChangeLog	2012-12-18 15:55:01 UTC (rev 138022)
@@ -1,3 +1,15 @@
+2012-12-18  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: [Styles] Selector matches are not marked after property editing
+        https://bugs.webkit.org/show_bug.cgi?id=105284
+
+        Reviewed by Vsevolod Vlasov.
+
+        Once a property edit is committed, the selector markup is reset and needs to be re-applied.
+
+        * inspector/front-end/StylesSidebarPane.js:
+        (WebInspector.StylePropertiesSection.prototype.update):
+
 2012-12-18  Eric Carlson  <[email protected]>
 
         Add in-band text track cues only once

Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (138021 => 138022)


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-12-18 15:53:12 UTC (rev 138021)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2012-12-18 15:55:01 UTC (rev 138022)
@@ -985,6 +985,7 @@
     {
         if (this.styleRule.selectorText)
             this._selectorElement.textContent = this.styleRule.selectorText;
+        this._markSelectorMatches();
         if (full) {
             this.propertiesTreeOutline.removeChildren();
             this.populated = false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to