blob: a035fb301de3b982b035d62f23eb3184af5beca5 [file] [log] [blame]
jchaffraix@webkit.org27536552011-12-05 21:38:50 +00001<!DOCTYPE html>
2<html>
3<head>
4<style>
5.block1 {
6 border: 1px solid black;
7 width:15%;
8 background-color: green;
9}
10.block2 {
11 border: 1px solid black;
12 width:50%;
13 background-color: blue;
14}
15.block3 {
16 border: 1px solid black;
17 width:15%;
18 background-color: green;
19}
20</style>
21</head>
22<body>
23<!-- bug 34758: TD width in precentage doesn't work. -->
24<!-- The 2 green rectangles should have the same width. -->
25<table id="table" width="50%" height="100%">
26 <tr>
27 <td colspan="3" style="border: 1px solid black" height="150">
28 <table width="600" height="100%"><tr><td></td></tr></table>
29 </td>
30 </tr>
31 <tr valign="top" style="height: 100px">
32 <td class="block1"></td>
33 <td class="block2"></td>
34 <td class="block3"><table style="width: 100%"></table></td>
35 </tr>
36</table>
37</body>
38</html>