Changeset 85744 in webkit


Ignore:
Timestamp:
May 4, 2011 6:48:29 AM (13 years ago)
Author:
apavlov@chromium.org
Message:

2011-05-04 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Double-click in a read-only style rule results in a non-editable blank property
https://bugs.webkit.org/show_bug.cgi?id=60150

  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertiesSection.prototype._handleEmptySpaceDoubleClick):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85742 r85744  
     12011-05-04  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Reviewed by Yury Semikhatsky.
     4
     5        Web Inspector: Double-click in a read-only style rule results in a non-editable blank property
     6        https://bugs.webkit.org/show_bug.cgi?id=60150
     7
     8        * inspector/front-end/StylesSidebarPane.js:
     9        (WebInspector.StylePropertiesSection.prototype._handleEmptySpaceDoubleClick):
     10
    1112011-05-04  Dominic Battre  <battre@chromium.org>
    212
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r85324 r85744  
    926926    _handleEmptySpaceDoubleClick: function(event)
    927927    {
    928         if (event.target.hasStyleClass("header")) {
     928        if (event.target.hasStyleClass("header") || this.element.hasStyleClass("read-only")) {
    929929            event.stopPropagation();
    930930            return;
Note: See TracChangeset for help on using the changeset viewer.