зеркало из https://github.com/mozilla/gecko-dev.git
20 строки
520 B
HTML
20 строки
520 B
HTML
<html><head>
|
|
<script>
|
|
function doe2(i) {
|
|
var x=document.getElementsByTagName('*');
|
|
document.body.setAttribute('style', 'display: inline; position: relative;');
|
|
document.body.offsetHeight;
|
|
document.getElementById('a').setAttribute('style', '');
|
|
document.getElementById('b').setAttribute('style', 'position: absolute;');
|
|
}
|
|
setTimeout(doe2,100);
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<span id="b"></span>ع
|
|
<span id="a" style="position: absolute;">ع
|
|
<span style="position: absolute;"></span>
|
|
</span>
|
|
</body>
|
|
</html> |