diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/manual-tests/dom-manipulation-on-resize.html | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/manual-tests/dom-manipulation-on-resize.html')
-rw-r--r-- | WebCore/manual-tests/dom-manipulation-on-resize.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/WebCore/manual-tests/dom-manipulation-on-resize.html b/WebCore/manual-tests/dom-manipulation-on-resize.html new file mode 100644 index 0000000..81eaa5a --- /dev/null +++ b/WebCore/manual-tests/dom-manipulation-on-resize.html @@ -0,0 +1,28 @@ +<html> +<head><style> +body { overflow: hidden; } +</style> +<script> +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")) + + m.appendChild(tbody) +} +</script> +</head> +<body onload="setTimeout('window.resizeTo(500,500)', 0)"> +<table></table> +<p> +<b>BUG ID: <a href="http://bugs.webkit.org/show_bug.cgi?id=8739">Bugzilla bug 8739</a></b> +Crash in RenderTableSection::paint due to manipulating DOM on resize +</p> +<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. +</p> +</body></html> |