7 #el1:nth-last-child(
2n) {
8 display: table-header-group;
11 display: inline-table;
13 #el2:nth-last-child(
2n) {
14 -webkit-appearance:discrete-capacity-level-indicator;
17 display: table-header-group;
22 #el5:nth-last-child(
2n) {
23 -webkit-appearance:discrete-capacity-level-indicator;
26 display: table-header-group;
29 -webkit-border-after: solid;
41 el0
=document
.createElement('div')
42 document
.body
.appendChild(el0
)
43 el0
.appendChild(document
.createElement('li'))
44 el1
=document
.createElement('canvas')
45 el1
.setAttribute('id','el1')
46 document
.body
.appendChild(el1
)
47 el2
=document
.createElement('canvas')
48 el2
.setAttribute('id','el2')
49 document
.body
.appendChild(el2
)
50 el3
=document
.createElement('meter')
51 document
.body
.appendChild(el3
)
52 el4
=document
.createElement('div')
53 el4
.setAttribute('id','el4')
54 document
.body
.appendChild(el4
)
55 el5
=document
.createElement('canvas')
56 el5
.setAttribute('id','el5')
57 document
.body
.appendChild(el5
)
58 el5
.appendChild(document
.createTextNode('A'))
59 el6
=document
.createElement('span')
60 el6
.setAttribute('id','el6')
61 document
.body
.appendChild(el6
)
62 document
.body
.appendChild(document
.createElement('span'))
63 el7
=document
.createElement('div')
64 el7
.setAttribute('id','el7')
65 document
.body
.appendChild(el7
)
66 document
.designMode
='on'
67 window
.getSelection().setBaseAndExtent(el3
, 1)
68 document
.execCommand('InsertLineBreak')
69 document
.execCommand('selectall')
70 document
.execCommand('strikethrough')
71 document
.execCommand('FormatBlock', false, '<'+'pre>')
72 document
.execCommand('Undo')
74 document
.body
.innerHTML
= "PASS if no crash or assert in debug";
76 if (window
.testRunner
) testRunner
.dumpAsText();