Changeset 76483 in webkit
- Timestamp:
- Jan 23, 2011 11:13:16 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r76482 r76483 1 2011-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 1 13 2011-01-19 MORITA Hajime <morrita@google.com> 2 14 -
trunk/Source/WebCore/inspector/front-end/NetworkPanel.js
r76022 r76483 119 119 return; 120 120 WebInspector.Panel.prototype.updateSidebarWidth.call(this, width); 121 if (this._summaryBarElement.parentElement === this.element)122 this._summaryBarElement.style.width = width + "px";123 121 }, 124 122 … … 148 146 } 149 147 this._summaryBarElement.addStyleClass("network-summary-bar-bottom"); 150 this._summaryBarElement.style.setProperty("width", this.sidebarElement.offsetWidth + "px");151 148 this.element.appendChild(this._summaryBarElement); 152 149 this._dataGrid.element.style.bottom = "20px"; … … 158 155 this._summaryBarRowNode = new WebInspector.NetworkTotalGridNode(this._summaryBarElement); 159 156 this._summaryBarElement.removeStyleClass("network-summary-bar-bottom"); 160 this._summaryBarElement.style.removeProperty("width");161 157 this._dataGrid.appendChild(this._summaryBarRowNode); 162 158 this._dataGrid.element.style.bottom = 0; … … 934 930 this.sidebarElement.style.right = 0; 935 931 this.sidebarElement.style.removeProperty("width"); 936 this._summaryBarElement.style.removeProperty("width");937 932 if (this._dataGrid.selectedNode) 938 933 this._dataGrid.selectedNode.selected = false;
Note: See TracChangeset
for help on using the changeset viewer.