dom-manipulation-on-resize.html   [plain text]

body { overflow: hidden; }
window.onresize = function() {
    var tbody = document.createElement("TBODY")

    var m = (document.getElementsByTagName("TABLE"))[0]
    if(m.hasChildNodes()) m.removeChild(m.lastChild)

    var tr = tbody.appendChild(document.createElement("TR"))

<body onload="setTimeout('window.resizeTo(500,500)', 0)">
<b>BUG ID: <a href="">Bugzilla bug 8739</a></b>
Crash in RenderTableSection::paint due to manipulating DOM on resize
<p id="success" style="background-color:palegreen; padding:3px;">
><b>TEST PASS:</b> You got here without crashing, which means test PASS. It is normal for the
window to have resized.