Changeset 182095 in webkit


Ignore:
Timestamp:
Mar 27, 2015, 5:57:53 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Disable editing in Metrics section while it is not working
https://bugs.webkit.org/show_bug.cgi?id=143165

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-03-27
Reviewed by Timothy Hatcher.

  • UserInterface/Views/BoxModelDetailsSectionRow.js:

(WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createElement):
(WebInspector.BoxModelDetailsSectionRow.prototype._applyUserInput):
Disable double click to edit while it is not working. The value setter
and add methods no longer exist.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r182094 r182095  
     12015-03-27  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Disable editing in Metrics section while it is not working
     4        https://bugs.webkit.org/show_bug.cgi?id=143165
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/BoxModelDetailsSectionRow.js:
     9        (WebInspector.BoxModelDetailsSectionRow.prototype._updateMetrics.createElement):
     10        (WebInspector.BoxModelDetailsSectionRow.prototype._applyUserInput):
     11        Disable double click to edit while it is not working. The value setter
     12        and add methods no longer exist.
     13
    1142015-03-27  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/BoxModelDetailsSectionRow.js

    r182040 r182095  
    118118            if (shouldRoundValue)
    119119                element.title = value;
    120             element.addEventListener("dblclick", this._startEditing.bind(this, element, name, propertyName, style), false);
     120            // FIXME: <https://webkit.org/b/143164> Web Inspector: REGRESSION(r179286) Editing Style Metrics Values no longer works
     121            // element.addEventListener("dblclick", this._startEditing.bind(this, element, name, propertyName, style), false);
    121122            return element;
    122123        }
     
    414415
    415416        var property = this._nodeStyles.inlineStyle.propertyForName(context.styleProperty);
    416         property.value = userInput;
    417         property.add();
     417        // FIXME: <https://webkit.org/b/143164> Web Inspector: REGRESSION(r179286) Editing Style Metrics Values no longer works
    418418    }
    419419
Note: See TracChangeset for help on using the changeset viewer.