summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/420069-2.html
blob: 5e9c59dc2a44211a641c88f336f1b4436dbaf98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE HTML>
<html dir="rtl">
<head>
<title>Test, bug 420069</title>
<style type="text/css">

body { font-size: 12px; color: transparent; }

p {
	float: right; clear: right; 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>