Changeset 102756 in webkit
- Timestamp:
- Dec 14, 2011 2:04:38 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r102755 r102756 1 2011-12-13 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: [Regression] Scripts panel debug sidebar toolbar should not be scrolled out of the screen. 4 https://bugs.webkit.org/show_bug.cgi?id=74447 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/front-end/ScriptsPanel.js: 9 (WebInspector.ScriptsPanel.prototype.wasShown): 10 * inspector/front-end/scriptsPanel.css: 11 (#scripts-debug-toolbar): 12 (#scripts-debug-sidebar-contents): 13 1 14 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com> 2 15 -
trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js
r102671 r102756 54 54 this.splitView.minimalMainWidthPercent = 100 - maximalDebugSidebarWidthPercent; 55 55 56 this.s plitView.sidebarElement.appendChild(this.debugToolbar);56 this.sidebarElement.appendChild(this.debugToolbar); 57 57 58 58 this.debugSidebarResizeWidgetElement = document.createElement("div"); … … 104 104 this.sidebarPanes.workers = new WebInspector.WorkersSidebarPane(); 105 105 106 this._debugSidebarContentsElement = document.createElement("div"); 107 this._debugSidebarContentsElement.id = "scripts-debug-sidebar-contents"; 108 this.sidebarElement.appendChild(this._debugSidebarContentsElement); 109 106 110 for (var pane in this.sidebarPanes) 107 this. sidebarElement.appendChild(this.sidebarPanes[pane].element);111 this._debugSidebarContentsElement.appendChild(this.sidebarPanes[pane].element); 108 112 109 113 this.sidebarPanes.callstack.expanded = true; … … 202 206 WebInspector.Panel.prototype.wasShown.call(this); 203 207 if (Capabilities.nativeInstrumentationEnabled) 204 this. sidebarElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element);208 this._debugSidebarContentsElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element); 205 209 this.sidebarPanes.watchExpressions.show(); 206 210 }, -
trunk/Source/WebCore/inspector/front-end/scriptsPanel.css
r102671 r102756 51 51 position: relative; 52 52 margin-top: -1px; 53 height: 23px; 53 height: 24px; 54 } 55 56 #scripts-debug-sidebar-contents { 57 position: absolute; 58 top: 22px; 59 bottom: 0; 60 left: 0; 61 right: 0; 62 overflow: auto; 54 63 } 55 64
Note: See TracChangeset
for help on using the changeset viewer.