blob: a2bc8b5eda86a86e5b70e5d5717aebe64db3aa38 [file] [log] [blame]
<HTML>
<BODY>
<font>
<center>
<table>
<TR>
<form name="form" id="form" starget=_top action="/n/click.cgi">
<input id="mover" type=hidden name=d value=722001303>
<TD>
<input type=image src="resources/apple.gif">
<input type=hidden name=q value="bar">
</TD>
</form>
</tr>
</table>
</font>
</center>
<div id="result">Failed.</div>
<script>
var input = document.getElementById("mover");
if (input.form) {
var div = document.getElementById("result");
div.innerHTML = "Success! This test succeeds if the input named mover is not detached from its form when it is moved around in the DOM to come before the table."
}
</script>
</body>
</html>