зеркало из https://github.com/mozilla/pjs.git
21 строка
396 B
HTML
21 строка
396 B
HTML
<!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>
|