summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html')
-rw-r--r--layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html b/layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html
new file mode 100644
index 0000000000..8c840a06d8
--- /dev/null
+++ b/layout/reftests/meta-viewport/scroll-to-unreachable-area-ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<meta name="viewport" content="width=device-width,initial-scale=1">
+<style>
+html, body {
+ margin: 0;
+ width: 100%;
+ height: 100%;
+}
+div {
+ position: absolute;
+}
+</style>
+<div style="background: red; width: 100%; height: 100%;"></div>
+<div style="background: green; width: 50%; height: 50%;"></div>