summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/overscroll-scrollbar-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/overscroll-scrollbar-ref.html')
-rw-r--r--layout/reftests/async-scrolling/overscroll-scrollbar-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/overscroll-scrollbar-ref.html b/layout/reftests/async-scrolling/overscroll-scrollbar-ref.html
new file mode 100644
index 0000000000..75a9bfeab6
--- /dev/null
+++ b/layout/reftests/async-scrolling/overscroll-scrollbar-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ body {
+ /* The 3028 here was arrived at experimentally to match to
+ produce a scrollbar of approximately the same length as
+ the one of the test page squished by the overscroll. */
+ height: 3028px;
+ margin: 0;
+ }
+ div {
+ position: absolute;
+ top: 8px;
+ width: 200px;
+ height: 200px;
+ background: green;
+ }
+ </style>
+</head>
+<body>
+ <div></div>
+</body>
+</html>