Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: third_party/WebKit/LayoutTests/fast/events/resources/page-with-scrollable-div.html

Issue 1365853003: LayoutBox::scrollRectToVisible doesn't respect overflow:hidden property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typos Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/resources/page-with-scrollable-div.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/resources/page-with-scrollable-div.html b/third_party/WebKit/LayoutTests/fast/events/resources/page-with-scrollable-div.html
new file mode 100644
index 0000000000000000000000000000000000000000..5184878db6d2cf5f02046eb347e174bc5115b942
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/events/resources/page-with-scrollable-div.html
@@ -0,0 +1,21 @@
+<style>
+ body {
+ width: 800px;
+ height: 800px;
+ }
+
+ #text-wrapper {
+ padding: 20px;
+ overflow-y: scroll;
+ background-color:#ccc;
+ height: 40px;
+ width: 100px;
+ }
+</style>
+<html>
+ <body>
+ <div id="text-wrapper">
+ <span id="select">This text could be anything but should be long enough to be scrollable.</span>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698