24 lines
764 B
HTML
24 lines
764 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Insert content</title>
|
|
<script>
|
|
function test() {
|
|
var elm = document.getElementById('elm');
|
|
document.body.offsetTop; // trigger layout
|
|
elm.style.display = 'block';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="test()">
|
|
<p>There should be two lines below with the word "PASS".</p>
|
|
<div style="float:left; overflow:hidden;">
|
|
<div style="-webkit-columns:4; columns:4; column-gap:0; -webkit-column-gap:0; orphans:1; widows:1;">
|
|
P<br>P<br>A<br>
|
|
<div id="elm" style="display:none;">A</div>
|
|
S<br>S<br>S<br>S
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|