1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Clear on floats after floats with display:none blocks between them</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/clear/002.html" type="text/html">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop">
9 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#flow-control">
10 <meta name="flags" content="">
11 <style type="text/css">
12 .float { float: left; margin: 0; }
13 .clear { clear: left; display: none; background: red; }
14 </style>
15 </head>
16 <body>
17 <p>Test passes if the word PASS appears on a single line below.</p>
18 <div class="float">PA</div>
19 <div class="clear">| FAIL |</div>
20 <div class="float">SS</div>
21 </body>
22 </html>