Changeset 76483 in webkit


Ignore:
Timestamp:
Jan 23, 2011 11:13:16 PM (13 years ago)
Author:
caseq@chromium.org
Message:

2011-01-23 Andrey Kosyakov <caseq@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: summary bar is not resized properly with the rest of net
https://bugs.webkit.org/show_bug.cgi?id=52881

  • inspector/front-end/NetworkPanel.js: (WebInspector.NetworkPanel.prototype.updateSidebarWidth): (WebInspector.NetworkPanel.prototype._positionSummaryBar): (WebInspector.NetworkPanel.prototype._toggleGridMode):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r76482 r76483  
     12011-01-23  Andrey Kosyakov  <caseq@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: summary bar is not resized properly with the rest of network panel
     6        https://bugs.webkit.org/show_bug.cgi?id=52881
     7
     8        * inspector/front-end/NetworkPanel.js:
     9        (WebInspector.NetworkPanel.prototype.updateSidebarWidth):
     10        (WebInspector.NetworkPanel.prototype._positionSummaryBar):
     11        (WebInspector.NetworkPanel.prototype._toggleGridMode):
     12
    1132011-01-19  MORITA Hajime  <morrita@google.com>
    214
  • trunk/Source/WebCore/inspector/front-end/NetworkPanel.js

    r76022 r76483  
    119119            return;
    120120        WebInspector.Panel.prototype.updateSidebarWidth.call(this, width);
    121         if (this._summaryBarElement.parentElement === this.element)
    122             this._summaryBarElement.style.width = width + "px";
    123121    },
    124122
     
    148146            }
    149147            this._summaryBarElement.addStyleClass("network-summary-bar-bottom");
    150             this._summaryBarElement.style.setProperty("width", this.sidebarElement.offsetWidth + "px");
    151148            this.element.appendChild(this._summaryBarElement);
    152149            this._dataGrid.element.style.bottom = "20px";
     
    158155            this._summaryBarRowNode = new WebInspector.NetworkTotalGridNode(this._summaryBarElement);
    159156            this._summaryBarElement.removeStyleClass("network-summary-bar-bottom");
    160             this._summaryBarElement.style.removeProperty("width");
    161157            this._dataGrid.appendChild(this._summaryBarRowNode);
    162158            this._dataGrid.element.style.bottom = 0;
     
    934930            this.sidebarElement.style.right = 0;
    935931            this.sidebarElement.style.removeProperty("width");
    936             this._summaryBarElement.style.removeProperty("width");
    937932            if (this._dataGrid.selectedNode)
    938933                this._dataGrid.selectedNode.selected = false;
Note: See TracChangeset for help on using the changeset viewer.