commit-queue@webkit.org | b7820e4 | 2014-03-10 19:56:38 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <script> |
| 5 | if (window.testRunner) |
| 6 | testRunner.dumpAsText(); |
| 7 | |
| 8 | function removeSpan() { |
| 9 | document.getElementById("colGroup").removeAttribute("span"); |
| 10 | } |
| 11 | </script> |
| 12 | </head> |
| 13 | <body onload="removeSpan()"> |
| 14 | <p>This test passes if it does not crash.</p> |
| 15 | <table> |
| 16 | <colgroup id="colGroup" span="10000000000"> |
| 17 | <th></th> |
| 18 | </colgroup> |
| 19 | </table> |
| 20 | <table> |
| 21 | <colgroup span="0"> |
| 22 | <th></th> |
| 23 | </colgroup> |
| 24 | </table> |
| 25 | <table> |
| 26 | <colgroup span="10000000000"> |
| 27 | <th></th> |
| 28 | </colgroup> |
| 29 | </table> |
| 30 | <table> |
| 31 | <colgroup span="-10000000000"> |
| 32 | <th></th> |
| 33 | </colgroup> |
| 34 | </table> |
| 35 | </body> |
| 36 | </html> |