layout/reftests/text/pre-line-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/pre-line-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<style>
     1.8 +.preline { white-space:pre-line; }
     1.9 +span { background:yellow; }
    1.10 +.float { float:left; background:orange; }
    1.11 +.outer { overflow:auto; margin:1em; }
    1.12 +</style>
    1.13 +</head>
    1.14 +<body>
    1.15 +
    1.16 +
    1.17 +
    1.18 +<!-- Note, in the following tests there are trailing spaces after "is" and on the second
    1.19 +     blank line. -->
    1.20 +
    1.21 +<div class="outer"><div class="preline">My    name is   
    1.22 + 
    1.23 + Fred.</div></div>
    1.24 +<div class="outer"><span class="preline">My    name is   
    1.25 + 
    1.26 + Fred.</span></div>
    1.27 +
    1.28 +
    1.29 +
    1.30 +
    1.31 +
    1.32 +<div class="outer"><div class="preline float">My    name is   
    1.33 + 
    1.34 + Fred.</div></div>
    1.35 +<div class="outer"><div class="float"><span class="preline">My    name is   
    1.36 + 
    1.37 + Fred.</span></div></div>
    1.38 +
    1.39 +
    1.40 +
    1.41 +
    1.42 +
    1.43 +<div class="outer"><div style="width:0;"><div class="preline float">My    name is   
    1.44 + 
    1.45 + Fred.</div></div></div>
    1.46 +<div class="outer"><div style="width:0;"><div class="float"><span class="preline">My    name is   
    1.47 + 
    1.48 + Fred.</span></div></div></div>
    1.49 +
    1.50 +</body>
    1.51 +</html>

mercurial