mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
39 lines
841 B
HTML
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>
|