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