Title: [182576] trunk/Source/WebInspectorUI
Revision
182576
Author
[email protected]
Date
2015-04-08 18:02:14 -0700 (Wed, 08 Apr 2015)

Log Message

Web Inspector: Regression: Showing of color swatches no longer works in Details Sidebar
https://bugs.webkit.org/show_bug.cgi?id=143539

Patch by Tobias Reiss <[email protected]> on 2015-04-08
Reviewed by Timothy Hatcher.

Fix a regression where due to an ESLint error the whole line instead of just
the variable declaration was removed.

* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches.update):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (182575 => 182576)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-04-09 00:32:12 UTC (rev 182575)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-04-09 01:02:14 UTC (rev 182576)
@@ -1,3 +1,17 @@
+2015-04-08  Tobias Reiss  <[email protected]>
+
+        Web Inspector: Regression: Showing of color swatches no longer works in Details Sidebar
+        https://bugs.webkit.org/show_bug.cgi?id=143539
+
+        Reviewed by Timothy Hatcher.
+
+        Fix a regression where due to an ESLint error the whole line instead of just
+        the variable declaration was removed.
+
+        * UserInterface/Views/CSSStyleDeclarationTextEditor.js:
+        (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches.update):
+        (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
+
 2015-04-07  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: ES6: Show Symbol properties on Objects

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js (182575 => 182576)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2015-04-09 00:32:12 UTC (rev 182575)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2015-04-09 01:02:14 UTC (rev 182576)
@@ -393,6 +393,7 @@
                 swatchElement.appendChild(swatchInnerElement);
 
                 var codeMirrorTextMarker = marker.codeMirrorTextMarker;
+                this._codeMirror.setUniqueBookmark(codeMirrorTextMarker.find().from, swatchElement);
 
                 swatchInnerElement.__colorTextMarker = codeMirrorTextMarker;
                 swatchInnerElement.__color = color;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to