summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pixel-rounding/background-color-top-height-5.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/pixel-rounding/background-color-top-height-5.html')
-rw-r--r--layout/reftests/pixel-rounding/background-color-top-height-5.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/pixel-rounding/background-color-top-height-5.html b/layout/reftests/pixel-rounding/background-color-top-height-5.html
new file mode 100644
index 000000000..a36c833c6
--- /dev/null
+++ b/layout/reftests/pixel-rounding/background-color-top-height-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: 9.5px; left: 10px; height: 10px; width: 10px; }
+
+div { background: green; }
+
+</style>
+</head>
+<body>
+<div style="height:11px"></div>
+</body>
+</html>