CSS2 table display types

The table display types here are tested by assigning them backgrounds. Note that some of the display types may not work even though they appear to work.

Display types together

The following two tables should look basically (preferably exactly) the same. If they don't, skip this test.

white white
white white
white
white
white
white

table

There should be line breaks before
aqua
aqua
aqua
aqua
and after this table.

inline-table

There should not be line breaks before
aqua
aqua
aqua
aqua
and after this table. (However, if inline-table is not supported, but anonymous table objects are, then there should be line breaks.)

table-row

white
white
aqua
aqua
white
white

table-row-group, table-header-group, table-footer-group

In the following table, there should be 2 red rows, 2 white, 2 aqua, 2 white, and then 2 green:

red
red
red
red
green
green
green
green
white
white
white
white
aqua
aqua
aqua
aqua
white
white
white
white

table-column

aqua
white
aqua
white

table-column-group

white
white
aqua
aqua
white
white
aqua
aqua

table-cell

aqua
white
white
aqua

table-caption

Aqua table caption, above rest of table.
white
white
white
white

Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org