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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 .preline { white-space:pre-line; }
michael@0 6 span { background:yellow; }
michael@0 7 .float { float:left; background:orange; }
michael@0 8 .outer { overflow:auto; margin:1em; }
michael@0 9 </style>
michael@0 10 </head>
michael@0 11 <body>
michael@0 12
michael@0 13
michael@0 14
michael@0 15 <!-- Note, in the following tests there are trailing spaces after "is" and on the second
michael@0 16 blank line. -->
michael@0 17
michael@0 18 <div class="outer"><div class="preline">My name is
michael@0 19
michael@0 20 Fred.</div></div>
michael@0 21 <div class="outer"><span class="preline">My name is
michael@0 22
michael@0 23 Fred.</span></div>
michael@0 24
michael@0 25
michael@0 26
michael@0 27
michael@0 28
michael@0 29 <div class="outer"><div class="preline float">My name is
michael@0 30
michael@0 31 Fred.</div></div>
michael@0 32 <div class="outer"><div class="float"><span class="preline">My name is
michael@0 33
michael@0 34 Fred.</span></div></div>
michael@0 35
michael@0 36
michael@0 37
michael@0 38
michael@0 39
michael@0 40 <div class="outer"><div style="width:0;"><div class="preline float">My name is
michael@0 41
michael@0 42 Fred.</div></div></div>
michael@0 43 <div class="outer"><div style="width:0;"><div class="float"><span class="preline">My name is
michael@0 44
michael@0 45 Fred.</span></div></div></div>
michael@0 46
michael@0 47 </body>
michael@0 48 </html>

mercurial