RetroZilla/layout/html/tests/block/bugs/22413.html
2015-10-20 23:03:22 -04: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>