1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <meta http-equiv=
"Content-Type" content=
"text/html;charset=UTF-8">
5 <title>CSS Test: Margin applied to element with display table-caption
</title>
6 <link rel=
"author" href=
"http://www.microsoft.com/" title=
"Microsoft">
7 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/box.html#propdef-margin">
8 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/box.html#margin-properties">
9 <meta content=
"" name=
"flags">
10 <meta content=
"The 'Margin' property applies to elements with a display of table-caption." name=
"assert">
11 <style type=
"text/css">
14 border: 10px solid blue
;
19 border: 10px solid orange
;
20 display: table-caption
;
26 border-collapse: collapse
;
41 <p>Test passes if there is space between the blue and orange lines below.
</p>