haikuwebkit/LayoutTests/fast/multicol/newmulticol/change-spanner-display.html

28 lines
1018 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Change display property of spanner</title>
<script>
function test() {
var elm = document.getElementById('elm');
document.body.offsetTop; // trigger layout
elm.style.display = 'list-item';
}
</script>
</head>
<body style="margin:5em;" onload="test()">
<p>You should see three lines with the word "PASS" below, all with a bullet in front. Letter
spacing is expected to vary.</p>
<div style="float:left;">
<div style="-webkit-columns:4; columns:4; -webkit-column-gap:0; column-gap:0;">
<div style="display:list-item;">P<br>A<br>S<br>S
<div id="elm" style="-webkit-column-span:all; column-span:all;">
PASS
</div>
</div>
<div style="display:list-item;">P<br>A<br>S<br>S</div>
</div>
</div>
</body>
</html>