summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/420069-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/420069-1.html')
-rw-r--r--layout/reftests/bugs/420069-1.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/layout/reftests/bugs/420069-1.html b/layout/reftests/bugs/420069-1.html
new file mode 100644
index 0000000000..9335b44063
--- /dev/null
+++ b/layout/reftests/bugs/420069-1.html
@@ -0,0 +1,56 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Test, bug 420069</title>
+<style type="text/css">
+
+body { font-size: 12px; color: transparent; }
+
+p {
+ float: left; clear: left; margin: 1px; height: 5px;
+ border: medium solid black;
+}
+
+</style>
+</head>
+<body>
+
+<!-- pref width without line breaks -->
+<p><span style="margin-left: 10em">A BBB</span></p>
+<p><span style="margin-right: 10em">A BBB</span></p>
+<p><span style="border-left: 10em transparent solid">A BBB</span></p>
+<p><span style="border-right: 10em transparent solid">A BBB</span></p>
+<p><span style="padding-left: 10em">A BBB</span></p>
+<p><span style="padding-right: 10em">A BBB</span></p>
+
+<!-- pref width with line breaks -->
+<p><span style="margin-left: 10em">A<br>BBB</span></p>
+<p><span style="margin-right: 10em">A<br>BBB</span></p>
+<p><span style="border-left: 10em transparent solid">A<br>BBB</span></p>
+<p><span style="border-right: 10em transparent solid">A<br>BBB</span></p>
+<p><span style="padding-left: 10em">A<br>BBB</span></p>
+<p><span style="padding-right: 10em">A<br>BBB</span></p>
+
+<div style="width:1px">
+
+<!-- min width without line breaks -->
+<p><span style="margin-left: 10em">A&nbsp;BBB</span></p>
+<p><span style="margin-right: 10em">A&nbsp;BBB</span></p>
+<p><span style="border-left: 10em transparent solid">A&nbsp;BBB</span></p>
+<p><span style="border-right: 10em transparent solid">A&nbsp;BBB</span></p>
+<p><span style="padding-left: 10em">A&nbsp;BBB</span></p>
+<p><span style="padding-right: 10em">A&nbsp;BBB</span></p>
+
+<!-- min width with line breaks -->
+<p><span style="margin-left: 10em">A BBB</span></p>
+<p><span style="margin-right: 10em">A BBB</span></p>
+<p><span style="border-left: 10em transparent solid">A BBB</span></p>
+<p><span style="border-right: 10em transparent solid">A BBB</span></p>
+<p><span style="padding-left: 10em">A BBB</span></p>
+<p><span style="padding-right: 10em">A BBB</span></p>
+
+</div>
+
+
+</body>
+</html>