5 #el0 { -webkit-columns:
1; }
7 #el2:first-letter { content: counter(c); }
8 #el3 { -webkit-column-span: all; content: counter(c) attr(A); }
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 document
.body
.offsetTop
;
15 el0
= document
.createElement('div');
16 el0
.setAttribute('id', 'el0');
17 document
.body
.appendChild(el0
);
18 el1
=document
.createElement('b');
20 el1
.appendChild(document
.createTextNode('A'));
21 el2
=document
.createElement('div');
22 el2
.setAttribute('id','el2');
24 el3
=document
.createElement('div');
25 el3
.setAttribute('id', 'el3');
27 document
.designMode
= 'on';
28 document
.execCommand('selectall');
29 el2
.appendChild(document
.createTextNode('AA'));
30 document
.designMode
= 'on';
31 document
.execCommand('selectall');
32 document
.execCommand('removeFormat');
33 document
.body
.offsetTop
;
34 document
.body
.innerHTML
= "PASS. WebKit didn't crash.";