Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 table {
6 width: 300px;
7 height: 300px;
8 background-color: blue;
9 }
10 td, div {
11 margin: 0;
12 padding: 0;
13 }
14 #rel {
15 position: relative;
16 margin: 0;
17 padding: 0;
18 height: 1px;
19 }
20 #abs {
21 position: absolute;
22 margin: 0;
23 padding: 0;
24 top: 200.5px;
25 left: 25px;
26 width: 50px;
27 height: 50px;
28 background-color: green;
29 }
30 </style>
31 </head>
32 <body>
33 The green square should not touch the blue square.
34 <table>
35 <colgroup>
36 <col style="width: 15%">
37 <col>
38 </colgroup>
39 <tr>
40 <td></td>
41 <td></td>
42 </tr>
43 <tr>
44 <td>
45 <div id="rel">
46 <div id="abs"></div>
47 </div>
48 </td>
49 <td></td>
50 </tr>
51 </table>
52 </body>
53 </html>