Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / border-spacing-applies-to-015.htm
blob064370edafa5f6d6c3e74d8262c9d2fc6fea5190
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Border-spacing and 'display: table-caption' elements</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#propdef-border-spacing">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#separated-borders">
8 <meta name="flags" content="">
9 <meta name="assert" content="Border-spacing does not apply to 'display: table-caption' elements.">
10 <style type="text/css">
11 #table
13 display: table;
15 .caption1, .caption2
17 border-spacing: 20px;
18 display: table-caption;
19 height: 100px;
20 width: 100px;
22 .caption1
24 border: 10px solid blue;
26 .caption2
28 border: 10px solid orange;
30 </style>
31 </head>
32 <body>
33 <p>Test passes if there is a blue and orange square below and there is no vertical gap between the squares.</p>
34 <div id="table">
35 <div class="caption1"></div>
36 <div class="caption2"></div>
37 </div>
38 </body>
39 </html>