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