OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 window.onload = function() { | 4 window.onload = function() { |
5 if (window.layoutTestController) | 5 if (window.layoutTestController) |
6 window.layoutTestController.dumpAsText(); | 6 window.layoutTestController.dumpAsText(); |
7 | 7 |
8 var cell = document.getElementById("cell"); | 8 var cell = document.getElementById("cell"); |
9 var text = cell.firstElementChild; | 9 var text = cell.firstElementChild; |
10 var wdiff = cell.offsetWidth - text.offsetWidth - (parseInt(window.getComputed
Style(cell).getPropertyValue('padding-right')) + | 10 var wdiff = cell.offsetWidth - text.offsetWidth - (parseInt(window.getComputed
Style(cell).getPropertyValue('padding-right')) + |
(...skipping 10 matching lines...) Expand all Loading... |
21 <td></td> | 21 <td></td> |
22 <td id="cell" style="background-color: green; width: 100%; height: 30px"> | 22 <td id="cell" style="background-color: green; width: 100%; height: 30px"> |
23 <span>FAIL</span> | 23 <span>FAIL</span> |
24 </td> | 24 </td> |
25 </tr> | 25 </tr> |
26 </table> | 26 </table> |
27 </div> | 27 </div> |
28 <div style="clear: left;">The green box should be the full width of the page.</d
iv> | 28 <div style="clear: left;">The green box should be the full width of the page.</d
iv> |
29 </body> | 29 </body> |
30 </html> | 30 </html> |
OLD | NEW |