4 <title>Test With Leading 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 Leading Space -->
15 <div class=
"container"><div class=
"middle"></div> <div class=
"floater"></div></div>
17 <!-- Single Leading Newline -->
18 <div class=
"container"><div class=
"middle"></div>
19 <div class=
"floater"></div></div>
21 <!-- Mixture of Leading Whitespace -->
22 <div class=
"container"><div class=
"middle"></div>
23 <div class=
"floater"></div></div>