summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/offscreen-background-color-size-4.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/pixel-rounding/offscreen-background-color-size-4.html')
-rw-r--r--layout/reftests/pixel-rounding/offscreen-background-color-size-4.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/offscreen-background-color-size-4.html b/layout/reftests/pixel-rounding/offscreen-background-color-size-4.html
new file mode 100644
index 0000000000..d907fe0c11
--- /dev/null
+++ b/layout/reftests/pixel-rounding/offscreen-background-color-size-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: -10px; left: -10px; width: 25.4px; height: 25.4px; }
+
+</style>
+</head>
+<body>
+
+<div></div>
+
+</body>
+</html>