Title: [139994] trunk/Source/WebCore
Revision
139994
Author
apav...@chromium.org
Date
2013-01-17 10:40:51 -0800 (Thu, 17 Jan 2013)

Log Message

Web Inspector: [Spectrum] Color picker in CSS editor does not update textual color value
https://bugs.webkit.org/show_bug.cgi?id=107110

Reviewed by Vsevolod Vlasov.

The Spectrum picker was never told to update the textual color upon user-initiated color changes.

* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype.updateTitle.):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (139993 => 139994)


--- trunk/Source/WebCore/ChangeLog	2013-01-17 18:40:44 UTC (rev 139993)
+++ trunk/Source/WebCore/ChangeLog	2013-01-17 18:40:51 UTC (rev 139994)
@@ -1,3 +1,15 @@
+2013-01-17  Alexander Pavlov  <apav...@chromium.org>
+
+        Web Inspector: [Spectrum] Color picker in CSS editor does not update textual color value
+        https://bugs.webkit.org/show_bug.cgi?id=107110
+
+        Reviewed by Vsevolod Vlasov.
+
+        The Spectrum picker was never told to update the textual color upon user-initiated color changes.
+
+        * inspector/front-end/StylesSidebarPane.js:
+        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.):
+
 2013-01-17  Jae Hyun Park  <jae.p...@company100.net>
 
         Remove unnecessary public method TiledBackingStore::supportsAlpha()

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


--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2013-01-17 18:40:44 UTC (rev 139993)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js	2013-01-17 18:40:51 UTC (rev 139994)
@@ -1768,6 +1768,7 @@
                 {
                     color = e.data;
                     var colorString = color.toString();
+                    spectrum.displayText = colorString;
                     colorValueElement.textContent = colorString;
                     colorSwatch.setColorString(colorString);
                     self.applyStyleText(nameElement.textContent + ": " + valueElement.textContent, false, false, false);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to