Changeset 88805 in webkit
- Timestamp:
- Jun 14, 2011 8:48:47 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88804 r88805 155 155 (WebCore::HTMLProgressElement::didElementStateChange): 156 156 * html/HTMLProgressElement.h: 157 158 2011-06-14 Pavel Feldman <pfeldman@google.com> 159 160 Reviewed by Yury Semikhatsky. 161 162 Web Inspector: use ew-resize instead of col-resize for non-columns. 163 https://bugs.webkit.org/show_bug.cgi?id=62640 164 165 * inspector/front-end/ElementsPanel.js: 166 (WebInspector.ElementsPanel.prototype.rightSidebarResizerDragStart): 167 * inspector/front-end/Panel.js: 168 (WebInspector.Panel.prototype._startSidebarDragging): 169 * inspector/front-end/ScriptsPanel.js: 170 (WebInspector.ScriptsPanel.prototype._startSidebarResizeDrag): 171 * inspector/front-end/TimelineOverviewPane.js: 172 (WebInspector.TimelineOverviewPane.prototype._resizeWindow): 173 (WebInspector.TimelineOverviewPane.prototype._dragWindow): 174 * inspector/front-end/inspector.css: 175 (body.attached #toolbar): 176 (body.drawer-visible #main-status-bar): 177 (#scripts-sidebar-resizer-widget): 178 (.sidebar-resizer-vertical): 179 (.timeline-window-resizer): 157 180 158 181 2011-06-14 Pavel Feldman <pfeldman@google.com> -
trunk/Source/WebCore/inspector/front-end/ElementsPanel.js
r88331 r88805 1099 1099 rightSidebarResizerDragStart: function(event) 1100 1100 { 1101 WebInspector.elementDragStart(this.sidebarElement, this.rightSidebarResizerDrag.bind(this), this.rightSidebarResizerDragEnd.bind(this), event, " col-resize");1101 WebInspector.elementDragStart(this.sidebarElement, this.rightSidebarResizerDrag.bind(this), this.rightSidebarResizerDragEnd.bind(this), event, "ew-resize"); 1102 1102 }, 1103 1103 -
trunk/Source/WebCore/inspector/front-end/Panel.js
r87166 r88805 317 317 _startSidebarDragging: function(event) 318 318 { 319 WebInspector.elementDragStart(this.sidebarResizeElement, this._sidebarDragging.bind(this), this._endSidebarDragging.bind(this), event, " col-resize");319 WebInspector.elementDragStart(this.sidebarResizeElement, this._sidebarDragging.bind(this), this._endSidebarDragging.bind(this), event, "ew-resize"); 320 320 }, 321 321 -
trunk/Source/WebCore/inspector/front-end/ScriptsPanel.js
r88344 r88805 666 666 _startSidebarResizeDrag: function(event) 667 667 { 668 WebInspector.elementDragStart(this.sidebarElement, this._sidebarResizeDrag.bind(this), this._endSidebarResizeDrag.bind(this), event, " col-resize");668 WebInspector.elementDragStart(this.sidebarElement, this._sidebarResizeDrag.bind(this), this._endSidebarResizeDrag.bind(this), event, "ew-resize"); 669 669 670 670 if (event.target === this.sidebarResizeWidgetElement) -
trunk/Source/WebCore/inspector/front-end/TimelineOverviewPane.js
r87776 r88805 222 222 _resizeWindow: function(resizeElement, event) 223 223 { 224 WebInspector.elementDragStart(resizeElement, this._windowResizeDragging.bind(this, resizeElement), this._endWindowDragging.bind(this), event, " col-resize");224 WebInspector.elementDragStart(resizeElement, this._windowResizeDragging.bind(this, resizeElement), this._endWindowDragging.bind(this), event, "ew-resize"); 225 225 }, 226 226 … … 245 245 var position = event.pageX - this._overviewGrid.element.offsetLeft; 246 246 this._overviewWindowSelector = new WebInspector.TimelinePanel.WindowSelector(this._overviewGrid.element, position, event); 247 WebInspector.elementDragStart(null, this._windowSelectorDragging.bind(this), this._endWindowSelectorDragging.bind(this), event, " col-resize");247 WebInspector.elementDragStart(null, this._windowSelectorDragging.bind(this), this._endWindowSelectorDragging.bind(this), event, "ew-resize"); 248 248 break; 249 249 } else if (node === this._leftResizeElement || node === this._rightResizeElement) { -
trunk/Source/WebCore/inspector/front-end/inspector.css
r88348 r88805 98 98 height: 34px; 99 99 border-top: 1px solid rgb(100, 100, 100); 100 cursor: row-resize;100 cursor: ns-resize; 101 101 padding-left: 0; 102 102 } … … 446 446 background-repeat: no-repeat, repeat-x; 447 447 background-position: right center, center; 448 cursor: row-resize;448 cursor: ns-resize; 449 449 } 450 450 … … 2688 2688 right: 225px; 2689 2689 width: 16px; 2690 cursor: col-resize;2690 cursor: ew-resize; 2691 2691 background-image: url(Images/statusbarResizerHorizontal.png); 2692 2692 background-repeat: no-repeat; … … 3221 3221 width: 5px; 3222 3222 z-index: 500; 3223 cursor: col-resize;3223 cursor: ew-resize; 3224 3224 } 3225 3225 … … 3729 3729 background-color: rgb(153, 153, 153); 3730 3730 z-index: 500; 3731 cursor: col-resize;3731 cursor: ew-resize; 3732 3732 -webkit-border-radius: 2px; 3733 3733 -webkit-box-shadow: white 1px 0 0, white -1px 0 0, white 0 1px 0, white 0 -1px 0;
Note: See TracChangeset
for help on using the changeset viewer.