layout/reftests/text/pre-line-1.html
author Margareta Eliza Balazs <ebalazs@mozilla.com>
Thu, 11 Jan 2018 22:32:27 +0200
changeset 398876 0524b54f7f9dc0568a55b5d70fef4180d4cb1838
parent 111436 e12cf7513bff45fcf0bf4a14a0cb520c95c3b98f
permissions -rw-r--r--
Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE

<!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>