OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 #el1 { | 4 #el1 { |
5 margin: 1px; | 5 margin: 1px; |
6 } | 6 } |
7 #el1:nth-last-child(2n) { | 7 #el1:nth-last-child(2n) { |
8 display: table-header-group; | 8 display: table-header-group; |
9 } | 9 } |
10 #el2:first-child { | 10 #el2:first-child { |
11 display: inline-table; | 11 display: inline-table; |
12 } | 12 } |
13 #el2:nth-last-child(2n) { | 13 #el2:nth-last-child(2n) { |
14 -webkit-appearance:discrete-capacity-level-indicator; | 14 -webkit-appearance:discrete-capacity-level-indicator; |
15 } | 15 } |
16 #el2 { | 16 #el2 { |
17 display: table-header-group; | 17 display: table-header-group; |
18 } | 18 } |
19 #el4 { | 19 #el4 { |
20 visibility: collapse; | 20 visibility: collapse; |
21 } | 21 } |
22 #el5:nth-last-child(2n) { | 22 #el5:nth-last-child(2n) { |
23 -webkit-appearance:discrete-capacity-level-indicator; | 23 -webkit-appearance:discrete-capacity-level-indicator; |
24 } | 24 } |
25 #el5 { | 25 #el5 { |
26 display: table-header-group; | 26 display: table-header-group; |
27 } | 27 } |
28 #el6 { | 28 #el6 { |
29 -webkit-border-after: solid; | 29 -webkit-border-after: solid; |
30 float: left; | 30 float: left; |
31 } | 31 } |
32 #el6:last-of-type { | 32 #el6:last-of-type { |
33 content: "B"; | 33 content: "B"; |
34 } | 34 } |
35 #el7::before { | 35 #el7::before { |
36 content: "A"; | 36 content: "A"; |
37 </style> | 37 </style> |
(...skipping 19 matching lines...) Expand all Loading... |
57 document.body.appendChild(el5) | 57 document.body.appendChild(el5) |
58 el5.appendChild(document.createTextNode('A')) | 58 el5.appendChild(document.createTextNode('A')) |
59 el6=document.createElement('span') | 59 el6=document.createElement('span') |
60 el6.setAttribute('id','el6') | 60 el6.setAttribute('id','el6') |
61 document.body.appendChild(el6) | 61 document.body.appendChild(el6) |
62 document.body.appendChild(document.createElement('span')) | 62 document.body.appendChild(document.createElement('span')) |
63 el7=document.createElement('div') | 63 el7=document.createElement('div') |
64 el7.setAttribute('id','el7') | 64 el7.setAttribute('id','el7') |
65 document.body.appendChild(el7) | 65 document.body.appendChild(el7) |
66 document.designMode='on' | 66 document.designMode='on' |
67 window.getSelection().setBaseAndExtent(el3, 1) | 67 window.getSelection().setBaseAndExtent(el3, 1, null, 0) |
68 document.execCommand('InsertLineBreak') | 68 document.execCommand('InsertLineBreak') |
69 document.execCommand('selectall') | 69 document.execCommand('selectall') |
70 document.execCommand('strikethrough') | 70 document.execCommand('strikethrough') |
71 document.execCommand('FormatBlock', false, '<'+'pre>') | 71 document.execCommand('FormatBlock', false, '<'+'pre>') |
72 document.execCommand('Undo') | 72 document.execCommand('Undo') |
73 | 73 |
74 document.body.innerHTML = "PASS if no crash or assert in debug"; | 74 document.body.innerHTML = "PASS if no crash or assert in debug"; |
75 | 75 |
76 if (window.testRunner) testRunner.dumpAsText(); | 76 if (window.testRunner) testRunner.dumpAsText(); |
77 } | 77 } |
78 </script> | 78 </script> |
79 </body> | 79 </body> |
80 </html> | 80 </html> |
OLD | NEW |