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