1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: Table Caption Margin Collapsing
</title>
5 <link rel=
"author" title=
"Elika J. Etemad" href=
"http://fantasai.inkedblade.net/">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/syndata.html#tokenization">
7 <meta name=
"assert" content=
"The table caption's margins do not collapse with the margins applied to the outer table box.">
8 <style type=
"text/css">
13 border-style: solid none
;
14 background: repeat-x
0 40px url
(support
/swatch-red
.png
);
18 border: solid blue
15px;
19 border-style: solid none
;
29 display: table-caption
;
39 <p>There must be four evenly-spaced blue bars below and no red.
</p>
41 <div class=
"container">
43 <div class=
"caption"></div>