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 12 matching lines...) Expand all Loading... |
23 <td id="cell" style="background-color: green; width: 100%; height: 30px"
> | 23 <td id="cell" style="background-color: green; width: 100%; height: 30px"
> |
24 <span>FAIL</span> | 24 <span>FAIL</span> |
25 </td> | 25 </td> |
26 </tr> | 26 </tr> |
27 </table> | 27 </table> |
28 </div> | 28 </div> |
29 </div> | 29 </div> |
30 <div style="clear: left;">The green box should be the full width of the page.</d
iv> | 30 <div style="clear: left;">The green box should be the full width of the page.</d
iv> |
31 </body> | 31 </body> |
32 </html> | 32 </html> |
OLD | NEW |