OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> | |
4 <style type="text/css"> | |
5 div.playground { position: relative; width: 90px; height: 90px; } | |
6 .red { background-color: yellow; } | |
7 .blue { background-color: blue; } | |
8 .green { background-color: green; } | |
9 .zero { height: 0; width: 60px; } | |
10 .half { height: 30px; width: 60px; } | |
11 .full { height: 60px; width: 60px; } | |
12 </style> | |
13 </head> | |
14 <body> | |
15 <div class="playground"> | |
16 <table cellpadding="0" cellspacing="0"> | |
17 <tbody> | |
18 <tr> | |
19 <td class="red half"></td> | |
20 </tr> | |
21 <tr> | |
22 <td class="green half"></td> | |
23 </tr> | |
24 </tbody> | |
25 </table> | |
26 </div> | |
27 | |
28 <div class="playground"> | |
29 <table cellpadding="0" cellspacing="0"> | |
30 <tbody> | |
31 <tr> | |
32 <td></td> | |
33 </tr> | |
34 </tbody> | |
35 <tbody> | |
36 <tr> | |
37 <td class="red half"></td> | |
38 </tr> | |
39 <tr> | |
40 <td class="green half"></td> | |
41 </tr> | |
42 </tbody> | |
43 </table> | |
44 </div> | |
45 | |
46 <div class="playground"> | |
47 <table cellpadding="0" cellspacing="0"> | |
48 <caption id="caption2" class="half"></caption> | |
49 <tbody> | |
50 <tr> | |
51 <td class="green half"></td> | |
52 </tr> | |
53 <tr> | |
54 <td class="red half"></td> | |
55 </tr> | |
56 </tbody> | |
57 </table> | |
58 </div> | |
59 | |
60 <div class="playground" style="margin-top: 30px;"> | |
61 <table cellpaddin="0" cellspacing="0" style="width: 60px; border-collaps
e: collapse; border: 8px solid green;"> | |
62 <caption style="width: 10px; margin: auto;"> | |
63 <div id="innerDiv" style="height: 15px"></div> | |
64 </caption> | |
65 <tbody> | |
66 <tr><td class="half"></td></tr> | |
67 <tr><td class="half" style="border-top: solid yellow 8px;"></td>
</tr> | |
68 </tbody> | |
69 </table> | |
70 </div> | |
71 </body> | |
72 </html> | |
OLD | NEW |