2 .c1::after { float: left; content: open-quote; }
3 .c1:first-letter { display: table-column; }
4 .c1[class~=
"c1"] { display: -webkit-inline-box; }
7 var parentDiv
= document
.createElement('div');
8 var childDiv
= document
.createElement('div');
10 parentDiv
.setAttribute('class', 'c1');
11 document
.documentElement
.appendChild(parentDiv
);
12 parentDiv
.appendChild(childDiv
);
13 parentDiv
.appendChild(document
.createTextNode('PASS if no exception or crash'));
14 document
.documentElement
.offsetHeight
; // forces a layout
15 parentDiv
.removeChild(childDiv
);
16 if (window
.testRunner
)
17 testRunner
.dumpAsText();