mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
30 lines
754 B
HTML
30 lines
754 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<script type="text/javascript">
|
|
function boom()
|
|
{
|
|
iframe = document.getElementById("iframe");
|
|
iframeBody = iframe.contentDocument.body;
|
|
iframeBody.appendChild(makeNamedSpan("w"));
|
|
remove(iframe);
|
|
iframeBody.appendChild(makeNamedSpan("w"));
|
|
remove(iframeBody);
|
|
document.documentElement.className = "";
|
|
}
|
|
|
|
function makeNamedSpan(i)
|
|
{
|
|
var s = document.createElement("span");
|
|
s.id = i;
|
|
return s;
|
|
}
|
|
|
|
function remove(n) { n.parentNode.removeChild(n); }
|
|
</script>
|
|
</head>
|
|
<body onload="boom();">
|
|
<iframe id="iframe" src="data:text/html,S"></iframe>
|
|
</body>
|
|
</html>
|