summaryrefslogtreecommitdiffstats
path: root/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/reftest-sanity/test-bg-attachment-fixed.html')
-rw-r--r--layout/reftests/reftest-sanity/test-bg-attachment-fixed.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html b/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
new file mode 100644
index 0000000000..12ca1c2c51
--- /dev/null
+++ b/layout/reftests/reftest-sanity/test-bg-attachment-fixed.html
@@ -0,0 +1,22 @@
+<html style="overflow:hidden"
+ reftest-displayport-w="800" reftest-displayport-h="1000">
+<head>
+<meta name="viewport" content="width=800; height=1000; initial-scale=1.0">
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
+<script>
+ function run() {
+ window.scrollTo(0, 30);
+ }
+</script>
+<style type="text/css">
+body
+{
+background-image:url("bg.png");
+background-repeat:no-repeat;
+background-attachment:fixed;
+}
+</style>
+</head>
+<body onload="run()" style="height: 10000px">
+</body>
+</html>