summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/transformed-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/position-sticky/transformed-2-ref.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/position-sticky/transformed-2-ref.html b/layout/reftests/position-sticky/transformed-2-ref.html
new file mode 100644
index 0000000000..bf2dc6704c
--- /dev/null
+++ b/layout/reftests/position-sticky/transformed-2-ref.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html style="margin: 0" class="reftest-wait">
+ <body style="margin: 0">
+ <div style="height: 70px; background-color: blue"></div>
+ <div style="height: 1950px;">
+ <div style="margin-top: 100px; width: 100px; height: 100px; background-color: green"></div>
+ </div>
+ <script>
+ addEventListener('load', function() {
+ document.scrollingElement.scrollTop = 50;
+ document.documentElement.classList.remove('reftest-wait');
+ }, false);
+ </script>
+</html>