4 <title>Test With Trailing Whitespace
</title>
6 div { height:
30px; margin:
0; padding:
0; border:none; }
7 .container { width:
400px; }
8 .floater { float:right; width:
100px; background-color:green; }
9 .middle { display:inline-block; width:
300px; background-color:green; }
13 <p> There should be a single green rectangle below.
</p>
14 <!-- Single Trailing Space -->
15 <div class=
"container"><div class=
"middle"></div><div class=
"floater"></div> </div>
17 <!-- Single Trailing Newline -->
18 <div class=
"container"><div class=
"middle"></div><div class=
"floater"></div>
21 <!-- Mixture of Trailing Whitespace -->
22 <div class=
"container"><div class=
"middle"></div><div class=
"floater"></div>