blob: 26f377c64a91baf4e6710f1817f6eae0c43db7b8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Spanner as ::before pseudo element</title>
<script>
if (window.internals)
internals.settings.setRegionBasedColumnsEnabled(true);
</script>
<style>
.x::before { display:block; -webkit-column-span:all; column-span:all; background:yellow; content:".........."; }
</style>
</head>
<body>
<p>There should be two rectangles with identical sizes below. The first one should be yellow
with some dots inside. The second one should be blue with nothing inside.</p>
<div style="-webkit-columns:4; columns:4; orphans:1; widows:1; line-height:100px; background:blue;">
<span class="x">&nbsp;</span>
</div>
</body>
</html>