Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<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>&#1593;
<span id="a" style="position: absolute;">&#1593;↩
<span style="position: absolute;"></span>
</span>
</body>
</html>