summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/background-image-left-10-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/pixel-rounding/background-image-left-10-ref.html')
-rw-r--r--layout/reftests/pixel-rounding/background-image-left-10-ref.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/background-image-left-10-ref.html b/layout/reftests/pixel-rounding/background-image-left-10-ref.html
new file mode 100644
index 000000000..e66185679
--- /dev/null
+++ b/layout/reftests/pixel-rounding/background-image-left-10-ref.html
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Pixel rounding testcase</title>
+<style type="text/css">
+
+html, body { margin: 0; border: none; padding: 0; }
+div { position: absolute; height: 10px; width: 10px; }
+
+div { background: blue; } /* for reference only */
+
+div.i1 { top: 10px; }
+div.i3 { top: 30px; }
+div.i5 { top: 50px; }
+div.i25 { top: 70px; }
+
+div.p1 { left: 11px; }
+div.p2 { left: 31px; }
+div.p3 { left: 51px; }
+div.p4 { left: 71px; }
+div.p5 { left: 91px; }
+div.p6 { left: 111px; }
+div.p7 { left: 131px; }
+div.p8 { left: 151px; }
+div.p9 { left: 171px; }
+
+</style>
+</head>
+<body>
+
+<div class="i1 p1"></div>
+<div class="i1 p2"></div>
+<div class="i1 p3"></div>
+<div class="i1 p4"></div>
+<div class="i1 p5"></div>
+<div class="i1 p6"></div>
+<div class="i1 p7"></div>
+<div class="i1 p8"></div>
+<div class="i1 p9"></div>
+
+<div class="i3 p1"></div>
+<div class="i3 p2"></div>
+<div class="i3 p3"></div>
+<div class="i3 p4"></div>
+<div class="i3 p5"></div>
+<div class="i3 p6"></div>
+<div class="i3 p7"></div>
+<div class="i3 p8"></div>
+<div class="i3 p9"></div>
+
+<div class="i5 p1"></div>
+<div class="i5 p2"></div>
+<div class="i5 p3"></div>
+<div class="i5 p4"></div>
+<div class="i5 p5"></div>
+<div class="i5 p6"></div>
+<div class="i5 p7"></div>
+<div class="i5 p8"></div>
+<div class="i5 p9"></div>
+
+<div class="i25 p1"></div>
+<div class="i25 p2"></div>
+<div class="i25 p3"></div>
+<div class="i25 p4"></div>
+<div class="i25 p5"></div>
+<div class="i25 p6"></div>
+<div class="i25 p7"></div>
+<div class="i25 p8"></div>
+<div class="i25 p9"></div>
+
+</body>
+</html>