blob: 6db0b8e89cb5a75ebcdb4940eda7f55617de65e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
div#a { margin: 0px 0px 100px 0px; }
</style>
<script>
function boom()
{
var a = document.getElementById("a");
a.firstChild.remove();
document.documentElement.className = "";
}
</script>
</head>
<body onload="boom();">
<div id="a">a</div>
<div>b</div>
</body>
</html>
|