summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html')
-rw-r--r--layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html b/layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html
new file mode 100644
index 0000000000..ebc8d8058a
--- /dev/null
+++ b/layout/reftests/pixel-rounding/offscreen-background-color-pos-4.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Pixel rounding testcase</title>
+<style type="text/css">
+
+html, body { margin: 0; border: none; padding: 0; }
+div { position: absolute; background: blue;
+ top: -9.6px; left: -9.6px; width: 25px; height: 25px; }
+
+</style>
+</head>
+<body>
+
+<div></div>
+
+</body>
+</html>