зеркало из https://github.com/mozilla/pjs.git
23 строки
380 B
HTML
23 строки
380 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
// Force frame construction
|
|
document.documentElement.offsetHeight;
|
|
|
|
// A dynamic change
|
|
var x = document.getElementById("x");
|
|
x.parentNode.removeChild(x);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();">
|
|
<div><span>١<span id="x"></span>٣</span></div>
|
|
</body>
|
|
</html>
|