2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t1205-c561-list-displ-00-b.html
blob1805586a06db83f172e797a660dade303ebcf7b0
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: display</title>
5 <style type="text/css">
6 p, div { color: navy; }
7 .one {display: block;}
8 .two {display: inline;}
9 .three {display: list-item; list-style-type: decimal; list-style-position: inside;}
10 .four {display: none; color: yellow; background: red;}
11 a {display: block;}
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#q10" title="12.5 Lists">
14 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" title="9.2.4 The 'display' property">
15 </head>
16 <body>
17 <p class="pc">There should be eight numbered lines below, all identical except for the numbering, which should match the description. </p>
18 <div class="three"> This should be line one. </div>
19 <div class="one"> 2. This should be line two. </div>
20 <div class="two"> 3. This should </div>
21 <div class="two"> be line three. </div>
22 <div> 4. This should be line four. </div>
23 <div class="four"> FAIL: This text should not appear. </div>
24 <div> 5. This should be line five. <span class="four">FAIL: This text should not appear.</span> </div>
25 <div> 6. This should be line six. <a>7. This should be line seven.</a> 8. This should be line eight. </div>
26 </body>
27 </html>