waterson%netscape.com 2658ae08e5 Add regression tests for 22413, 27211, 39211, and 41521.
git-svn-id: svn://10.0.0.236/trunk@72727 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:37:05 +00:00

39 lines
841 B
HTML

<html>
<body>
<p>
This should be the only visible text when the page has loaded, and is with
M11.
</p>
<div id="DescriptionText1">
<p>This paragraph disappears.</p>
</div>
<layer>
<div id="DescriptionText2">
<p>This is visible in M12 -- it should have disappeared.</p>
</div>
</layer>
<div id="DescriptionText3">
<layer>
<p>This is visible in M12 -- it should have disappeared.</p>
<layer>
</div>
<script LANGUAGE="JavaScript" type="text/javascript">
var n = document.getElementById("DescriptionText1");
while (n.hasChildNodes())
n.removeChild(n.firstChild);
n = document.getElementById("DescriptionText2");
while (n.hasChildNodes())
n.removeChild(n.firstChild);
n = document.getElementById("DescriptionText3");
while (n.hasChildNodes())
n.removeChild(n.firstChild);
</script>
</body>
</html>