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