Cleanup after SK_SUPPORT_LEGACY_COLOR32_MATH rebaseline
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / margin-applies-to-015.htm
bloba6d809867ae87475292aa2f8e88cef7b4af48b7b
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
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">
12 #wrapper
14 border: 10px solid blue;
15 position: absolute;
17 #test
19 border: 10px solid orange;
20 display: table-caption;
21 height: 200px;
22 margin: 50px;
24 #table
26 border-collapse: collapse;
27 display: table;
28 width: 320px;
30 #row
32 display: table-row;
34 #cell
36 display: table-cell;
38 </style>
39 </head>
40 <body>
41 <p>Test passes if there is space between the blue and orange lines below.</p>
42 <div id="wrapper">
43 <div id="table">
44 <div id="test"></div>
45 <div id="row">
46 <div id="cell"></div>
47 </div>
48 </div>
49 </div>
50 </body>
51 </html>