Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
2010-07-22 MORITA Hajime <morrita@google.com>
Reviewed by Ojan Vafai. Autoscroll on selection should take scrollbars into account as outside of the content. https://bugs.webkit.org/show_bug.cgi?id=40403 ScrollView's scroll-bar was considered as a part of content rect, that prevents autoscroll to happen when the pointer is over the scroll-bar. This change excluded scroll-bar region from scrolling delta calculation. Test: WebCore/manual-tests/autoscroll-over-scrollbar.html * rendering/RenderLayer.cpp: (WebCore::RenderLayer::scrollRectToVisible): Canonical link: https://commits.webkit.org/54776@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<body> | ||
<h1><a href="https://bugs.webkit.org/show_bug.cgi?id=40403">Bug 40403</a></h1> | ||
<p>Click down somewhere in this text, then move the pointer over the scrollbar at the bottom of the window, stop there, holding the mouse button down.</p> | ||
<div style="height:3000px; width:3000px;"></div> | ||
<p>If the bug occurs, then this text won't be selected until you move the mouse slightly. If the bug does not occur, this text should be selected.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters