| 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 { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after 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, null, 0) | 67 window.getSelection().setBaseAndExtent(el3, 0, 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 |