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: CSS Floats: Generated Content</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/014.xml" type="application/xhtml+xml">
7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/float/014.html" type="text/html">
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats">
9 <style type="text/css">
10 .test { border: solid navy; padding: 0.5em; }
11 .a:before { float: none; content: 'PA'; width: 5em; }
12 .b:before { float: left; content: 'PA'; }
13 .c:after { float: left; content: 'PA'; height: 5em }
14 </style>
15 </head>
16 <body>
17 <p> The following three lines should be identical and should read 'PASS' as one unbroken word:</p>
18 <p class="test a">SS</p>
19 <p class="test b">SS</p>
20 <p class="test c">SS</p>
21 </body>
22 </html>