1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Tables with and without the optional caption
</title>
5 <link rel=
"author" title=
"Microsoft" href=
"http://www.microsoft.com/">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/tables.html#table-display">
7 <meta name=
"flags" content=
"may">
8 <meta name=
"assert" content=
"The table caption is optional - a table can be rendered with or without it.">
9 <style type=
"text/css">
16 display: table-caption
;
32 <p>Test passes if the top square below has
"Filler Text" directly above it and the bottom square does not.
</p>
34 <div class=
"caption">Filler Text
</div>
36 <div class=
"td"></div>
37 <div class=
"td"></div>
40 <div class=
"td"></div>
41 <div class=
"td"></div>
47 <div class=
"td"></div>
48 <div class=
"td"></div>
51 <div class=
"td"></div>
52 <div class=
"td"></div>