summaryrefslogtreecommitdiffstats
path: root/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html')
-rw-r--r--layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html b/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html
new file mode 100644
index 0000000000..48f167a9cc
--- /dev/null
+++ b/layout/reftests/meta-viewport/position-fixed-on-minimum-scale-size.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html reftest-async-scroll
+ reftest-async-scroll-x="800"
+ reftest-async-scroll-y="0"
+ reftest-displayport-w="1600"
+ reftest-displayport-h="2000"
+ reftest-displayport-x="0"
+ reftest-displayport-y="0">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<style>
+ html,body {
+ margin: 0;
+ width: 800px;
+ height: 1000px;
+ }
+</style>
+<div style="position:fixed; top: 0; right: 0; width: 100px; height: 100px; background-color: green"></div>
+<div style="width: 1600px; height: 2000px;"></div>
+</html>