зеркало из https://github.com/mozilla/pjs.git
23 строки
396 B
HTML
23 строки
396 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
document.documentElement.offsetHeight;
|
|
|
|
document.documentElement.style.direction = "rtl";
|
|
|
|
document.documentElement.offsetHeight;
|
|
var s = document.getElementById("s");
|
|
|
|
s.removeChild(s.firstChild);
|
|
|
|
document.documentElement.offsetHeight;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();" style="width: 1px;"><span id="s"> x y</span></body>
|
|
</html>
|