diff options
Diffstat (limited to 'layout/reftests/bugs/586400-1.html')
-rw-r--r-- | layout/reftests/bugs/586400-1.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/bugs/586400-1.html b/layout/reftests/bugs/586400-1.html new file mode 100644 index 0000000000..107079738c --- /dev/null +++ b/layout/reftests/bugs/586400-1.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML> +<html> + <head> + <style> + div.spacer {width:20px; height: 20px;} + table {background-color: lime;} + td {background-color: green;} + </style> + <script> + function testIt() { + document.body.offsetWidth; + var table = document.getElementsByTagName("TABLE")[0]; + table.setAttribute("cellpadding", "30px"); + } + </script> + </head> + <body onload="testIt();"> + <table><tr> + <td> <div class="spacer"></div> </td></tr> + </table> + </body> +</html> |