4 document
.body
.offsetTop
; // trigger layout
5 document
.getElementById('elm').className
= "x";
9 .x::before { display:block; -webkit-column-span:all; background:yellow; content:
".........."; }
11 <p>Test adding a ::before pseudo element. The DOM element is preceded by content.
</p>
12 <p>There should be three rectangles with identical sizes below. The first and third one
13 should be blue with nothing inside. The second one should be yellow with some dots
15 <div style=
"-webkit-columns:4; line-height:100px; background:blue;">
17 <span id=
"elm"> </span>