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: Table background edge in the separated borders model</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#collapsing-borders">
7 <meta name="flags" content="image may">
8 <meta name="assert" content="The background edge of a table could start either behind the table's border or at its edge in the separated borders model (non-normative rule).">
9 <style type="text/css">
10 #table
11 {
12 background-image: url("support/blue-orange-rectangle.png");
13 background-repeat: no-repeat;
14 border-collapse: separate;
15 border-left: 100px solid black;
16 border-spacing: 0;
17 display: table;
18 height: 100px;
19 width: 100px;
20 }
21 .tr
22 {
23 display: table-row;
24 }
25 .td
26 {
27 display: table-cell;
28 }
29 </style>
30 </head>
31 <body>
32 <p>Test passes if below there is a black square and adjacent to the black square there is either a blue or orange square.</p>
33 <div id="table">
34 <div class="tr">
35 <div class="td"></div>
36 <div class="td"></div>
37 </div>
38 </div>
39 </body>
40 </html>