summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text/pre-line-1.html
blob: 0dfbef12e7b30cc64359f4d17e7f3f2b2ebddb17 (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
<!DOCTYPE HTML>
<html>
<head>
<style>
.preline { white-space:pre-line; }
span { background:yellow; }
.float { float:left; background:orange; }
.outer { overflow:auto; margin:1em; }
</style>
</head>
<body>



<!-- Note, in the following tests there are trailing spaces after "is" and on the second
     blank line. -->

<div class="outer"><div class="preline">My    name is   
 
 Fred.</div></div>
<div class="outer"><span class="preline">My    name is   
 
 Fred.</span></div>





<div class="outer"><div class="preline float">My    name is   
 
 Fred.</div></div>
<div class="outer"><div class="float"><span class="preline">My    name is   
 
 Fred.</span></div></div>





<div class="outer"><div style="width:0;"><div class="preline float">My    name is   
 
 Fred.</div></div></div>
<div class="outer"><div style="width:0;"><div class="float"><span class="preline">My    name is   
 
 Fred.</span></div></div></div>

</body>
</html>