1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: display
</title>
5 <style type=
"text/css">
6 p
, div
{ color: navy
; }
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
;}
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">
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>