summaryrefslogtreecommitdiffstats
path: root/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html')
-rw-r--r--layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html b/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html
new file mode 100644
index 0000000000..153ca9f8dd
--- /dev/null
+++ b/layout/reftests/async-scrolling/position-sticky-bug1434250-ref.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset='utf-8'>
+ <style type="text/css" media="all">
+ body {
+ margin-top: 0;
+ overflow: hidden;
+ }
+ .container {
+ width: 500px;
+ background: #fcc;
+ height: 2000px;
+ }
+ .header {
+ position: sticky;
+ top: 0px;
+ background: #cfc;
+ height: 50px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class='container'>
+ <div class='header'></div>
+ </div>
+ </body>
+</html>