summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-sticky/iframe-1-helper.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/position-sticky/iframe-1-helper.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/position-sticky/iframe-1-helper.html b/layout/reftests/position-sticky/iframe-1-helper.html
new file mode 100644
index 0000000000..9f71b50c42
--- /dev/null
+++ b/layout/reftests/position-sticky/iframe-1-helper.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ html, body {
+ margin: 0;
+ padding: 0;
+ }
+ </style>
+ </head>
+ <body>
+ <div style="overflow: auto; width: 150px; height: 200px">
+ <div style="position: sticky; top: 0; width: 100px; height: 100px; background-color: green"></div>
+ <div style="height: 300px; width: 100px"></div>
+ </div>
+ </body>
+</html>