mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
23 lines
388 B
HTML
23 lines
388 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>
|