blob: 745dcc1676f84a13426d1159173acc6d92be66e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function boom()
{
var v = document.getElementById("v");
v.childNodes[1].firstChild.data = "";
document.documentElement.offsetHeight;
v.appendChild(document.createTextNode("D"));
v.removeChild(v.firstChild);
}
</script>
</head>
<body onload="boom();">
<div id="v"><span>A</span><span>یC</span></div>
</body>
</html>
|