CSS2 Test Suite: 11.2 visibility

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.cl1 {visibility: visible;}
.cl2 {visibility: hidden;}
.cl3 {visibility: collapse;}
table {background: silver;}
table td {background: #FF9;}

The following image has a class of 'cl1' and so should be visible: image. It should affect layout as normal.

The following image has a class of 'cl2' and so should not be visible: image. It should affect layout as normal even though it cannot be seen.

The following image has a class of 'cl3' and so should not be visible: image. It should affect layout as normal even though it cannot be seen.

In the following table, the cells of the second row should be invisible, but the space the row would have occupied should still be held open. The third row should be removed from the table altogether, and its space should not be held open.

r1c1r1c2r1c3
r2c1r2c2r2c3
r3c1r3c2r3c3
r4c1r4c2r4c3
r5c1r5c2r5c3

[index page] [section] [Previous] [Next] [Specification]