1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite:
5.6.1 display
</TITLE>
5 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
6 <META http-equiv=
"Content-Style-Type" content=
"text/css">
8 <LINK rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"../resources/base.css">
9 <STYLE type=
"text/css">
10 .one {display: block;}
11 .two {display: inline;}
12 .three {display: list-item; list-style-type: square; margin-left:
3em;}
13 .four {display: none; color: red;}
14 I {display: block;}
</STYLE>
18 <BODY><P>The style declarations which apply to the text below are:
</P>
19 <PRE>.one {display: block;}
20 .two {display: inline;}
21 .three {display: list-item; list-style-type: square; margin-left:
3em;}
22 .four {display: none; color: red;}
27 This sentence should be a block-level element.
31 This sentence should be part of an inline element, as are the next three.
33 This sentence and the next two are part of a second inline element. They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences long. If this is not the case, then the keyword
<CODE>inline
</CODE> is being ignored.
37 This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items (if
<CODE>list-style-type
</CODE> is supported, there will be a square for the item marker). A
3em left margin has been applied in order to ensure that there is space for the list-item marker.
41 The next paragraph should be invisible (if it's visible, you'll see red text).
44 This paragraph should be invisible.
48 There should be no text after the colon:
<SPAN class=
"four">fnord.
</SPAN>
52 The italicized text
<I>in this paragraph
</I> should be a block-level element.
56 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
58 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
61 <TD bgcolor=
"silver"> </TD>
63 This sentence should be a block-level element.
67 This sentence should be part of an inline element, as are the next three.
69 This sentence and the next two are part of a second inline element. They should therefore appear, along with the sentence above, to be all one paragraph which is four sentences long. If this is not the case, then the keyword
<CODE>inline
</CODE> is being ignored.
73 This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items (if
<CODE>list-style-type
</CODE> is supported, there will be a square for the item marker). A
3em left margin has been applied in order to ensure that there is space for the list-item marker.
77 The next paragraph should be invisible (if it's visible, you'll see red text).
80 This paragraph should be invisible.
84 There should be no text after the colon:
<SPAN class=
"four">fnord.
</SPAN>
88 The italicized text
<I>in this paragraph
</I> should be a block-level element.
90 </TD></TR></TABLE></BODY>