summaryrefslogtreecommitdiffstats
path: root/gfx/tests/reftest/1444904.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gfx/tests/reftest/1444904.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/gfx/tests/reftest/1444904.html b/gfx/tests/reftest/1444904.html
new file mode 100644
index 0000000000..c9fe387e74
--- /dev/null
+++ b/gfx/tests/reftest/1444904.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ #container {
+ float: left;
+ position: sticky;
+ top: 0;
+ margin-top: -20px;
+ z-index: 100;
+ }
+
+ #target {
+ margin-top: 80px;
+ width: 20px;
+ height: 20px;
+ background: green;
+ }
+
+ #necessary-fixed-box {
+ position: fixed;
+ top: 0;
+ width: 20px;
+ height: 20px;
+
+ }
+ </style>
+ </head>
+
+ <body style="height: 10000px;">
+ <div id="container">
+ <div id="target"></div>
+ <div id="necessary-fixed-box"></div>
+ </div>
+ </body>
+</html>