Title: [117587] trunk/Source/WebCore
- Revision
- 117587
- Author
- [email protected]
- Date
- 2012-05-18 07:01:39 -0700 (Fri, 18 May 2012)
Log Message
Web Inspector: empty CSS Declaration is generated by clicking the left space of 'user agent stylesheet' on Styles sidebar of Elements panel
https://bugs.webkit.org/show_bug.cgi?id=86850
Reviewed by Yury Semikhatsky.
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertiesSection.prototype._handleSelectorContainerClick):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (117586 => 117587)
--- trunk/Source/WebCore/ChangeLog 2012-05-18 13:59:32 UTC (rev 117586)
+++ trunk/Source/WebCore/ChangeLog 2012-05-18 14:01:39 UTC (rev 117587)
@@ -1,3 +1,13 @@
+2012-05-18 Alexander Pavlov <[email protected]>
+
+ Web Inspector: empty CSS Declaration is generated by clicking the left space of 'user agent stylesheet' on Styles sidebar of Elements panel
+ https://bugs.webkit.org/show_bug.cgi?id=86850
+
+ Reviewed by Yury Semikhatsky.
+
+ * inspector/front-end/StylesSidebarPane.js:
+ (WebInspector.StylePropertiesSection.prototype._handleSelectorContainerClick):
+
2012-05-18 Yury Semikhatsky <[email protected]>
Unreviewed. Remove console.error() call committed by mistake.
Modified: trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js (117586 => 117587)
--- trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js 2012-05-18 13:59:32 UTC (rev 117586)
+++ trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js 2012-05-18 14:01:39 UTC (rev 117587)
@@ -1186,7 +1186,7 @@
_handleSelectorContainerClick: function(event)
{
- if (this._checkWillCancelEditing())
+ if (this._checkWillCancelEditing() || !this.editable)
return;
if (event.target === this._selectorContainer)
this.addNewBlankProperty(0).startEditing();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes