blob: 933fc3732ed08051c18298371dcffad44542baec [file] [log] [blame]
<!DOCTYPE html>
<script>
onload = function() {
document.body.offsetTop; // trigger layout
document.getElementById('elm').className = "x";
}
</script>
<style>
.x::after { display:block; -webkit-column-span:all; background:yellow; content:".........."; }
</style>
<p>Test adding an ::after pseudo element that's a spanner.</p>
<p>There should be two rectangles with identical sizes below. The first one should be blue
with nothing inside. The second one should be yellow with some dots inside.</p>
<div style="-webkit-columns:4; line-height:100px; background:blue;">
<span id="elm">&nbsp;</span>
</div>