Title: [140298] branches/chromium/1364/Source/WebCore/inspector/front-end/StylesSidebarPane.js
- Revision
- 140298
- Author
- apav...@chromium.org
- Date
- 2013-01-20 22:48:25 -0800 (Sun, 20 Jan 2013)
Log Message
Merge 139994
> 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.):
>
TBR=apav...@chromium.org
Review URL: https://codereview.chromium.org/12035003
Modified Paths
Diff
Modified: branches/chromium/1364/Source/WebCore/inspector/front-end/StylesSidebarPane.js (140297 => 140298)
--- branches/chromium/1364/Source/WebCore/inspector/front-end/StylesSidebarPane.js 2013-01-21 06:13:34 UTC (rev 140297)
+++ branches/chromium/1364/Source/WebCore/inspector/front-end/StylesSidebarPane.js 2013-01-21 06:48:25 UTC (rev 140298)
@@ -1761,6 +1761,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