Changeset 117587 in webkit


Ignore:
Timestamp:
May 18, 2012 7:01:39 AM (12 years ago)
Author:
apavlov@chromium.org
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117586 r117587  
     12012-05-18  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Web Inspector: empty CSS Declaration is generated by clicking the left space of 'user agent stylesheet' on Styles sidebar of Elements panel
     4        https://bugs.webkit.org/show_bug.cgi?id=86850
     5
     6        Reviewed by Yury Semikhatsky.
     7
     8        * inspector/front-end/StylesSidebarPane.js:
     9        (WebInspector.StylePropertiesSection.prototype._handleSelectorContainerClick):
     10
    1112012-05-18  Yury Semikhatsky  <yurys@chromium.org>
    212
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r117452 r117587  
    11871187    _handleSelectorContainerClick: function(event)
    11881188    {
    1189         if (this._checkWillCancelEditing())
     1189        if (this._checkWillCancelEditing() || !this.editable)
    11901190            return;
    11911191        if (event.target === this._selectorContainer)
Note: See TracChangeset for help on using the changeset viewer.