summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/justification-2a.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text/justification-2a.html')
-rw-r--r--layout/reftests/text/justification-2a.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/text/justification-2a.html b/layout/reftests/text/justification-2a.html
new file mode 100644
index 0000000000..2711eef658
--- /dev/null
+++ b/layout/reftests/text/justification-2a.html
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+span { display:inline-block; width:100px; height:10px; background:yellow; }
+</style>
+</head>
+<!-- Test that justify actually works. 3 spans won't fit on a line so there will be
+ two spans plus 100px of justification space on the first line. -->
+<body style="text-align:justify; width:300px;">
+<span></span> <span></span>
+<span></span>
+</body>
+</html>