1. Go to any web page (e.g., <http://webkit.org/>)
2. Show the Inspector
3. Dock the Inspector into the WebView
4. Click and hold on the top edge of the Inspector to start resizing it
5. Drag the mouse down below the bottom of the Safari window
6. Start dragging the mouse up again
As soon as you begin (6), the Inspector starts growing vertically, even though the mouse is quite far from the resizer. The Inspector should instead wait until the mouse is back on top of the resizer to begin growing.
*** Bug 35264 has been marked as a duplicate of this bug. ***
Still reproducible! :)
An additional quirk when VERY quickly resizing the docked Inspector:
1. Show the Inspector docked to the bottom of the WebView.
2. Click and hold the top edge of the Inspector to start resizing it.
3. As fast as possible, flick the mouse off the bottom of the Safari window.
4. Let go once the cursor is below the bottom of the window.
Rather than being set to the minimum docked height, the height of the docked Inspector window is a large value (sometimes larger than the starting height).
This occurs whether docked at the bottom or right of the WebView.
Created attachment 238135 [details]
Comment on attachment 238135 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=238135&action=review
> + // Cursor position cannot be less than initial mouse down position when resizing docked Inspector smaller.
Maybe we should clarify these comments. "initial mouse down position" => "initial mouse down position within the window". Since that is what clientX/Y are giving us.
Created attachment 238147 [details]
Comment on attachment 238147 [details]
Clearing flags on attachment: 238147
Committed r173640: <http://trac.webkit.org/changeset/173640>
All reviewed patches have been landed. Closing bug.