4 <title>Test Multiple Floats for a Single Line
</title>
6 div { width:
100px; height:
30px; margin:
0; padding:
0; border:none; background-color: green;}
7 .container { width:
400px; }
11 .middle { display:inline-block; }
15 <p> There should be a single green rectangle below.
</p>
16 <!-- No whitespace -->
17 <div class=
"container"><div class=
"left"></div><div class=
"middle"></div><div class=
"floater a"></div><div class=
"floater b"></div></div>
19 <!-- Some whitespace -->
20 <div class=
"container">
21 <div class=
"left"></div>
22 <div class=
"middle"></div>
23 <div class=
"floater a"></div>
24 <div class=
"floater b"></div>
27 <!-- Order should not matter -->
28 <div class=
"container">
29 <div class=
"floater a"></div>
30 <div class=
"left"></div>
31 <div class=
"middle"></div>
32 <div class=
"floater b"></div>