CSS1 Test Suite: 5.6.1 display


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

.one {display: block;}
.two {display: inline;}
.three {display: list-item; list-style-type: square; margin-left: 3em;}
.four {display: none; color: red;}
I {display: block;}

This sentence should be a block-level element.

This sentence should be part of an inline element, as are the next three.

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 inline is being ignored.

This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items (if list-style-type 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.

The next paragraph should be invisible (if it's visible, you'll see red text).

This paragraph should be invisible.

There should be no text after the colon: fnord.

The italicized text in this paragraph should be a block-level element.

TABLE Testing Section
 

This sentence should be a block-level element.

This sentence should be part of an inline element, as are the next three.

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 inline is being ignored.

This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items (if list-style-type 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.

The next paragraph should be invisible (if it's visible, you'll see red text).

This paragraph should be invisible.

There should be no text after the colon: fnord.

The italicized text in this paragraph should be a block-level element.


[Previous] [Next] [Section] [Contents] [Specification]