blob: be9a6a92d635fb6062443819dbaaf05795a600d2 (
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.firstChild.remove();
}
</script>
</head>
<body onload="boom();">
<div id="v"><span>A</span><span>یC</span></div>
</body>
</html>
|