| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 description('Various tests for the footer element.'); | 8 description('Various tests for the footer element.'); |
| 9 | 9 |
| 10 var testParent = document.createElement('div'); | 10 var testParent = document.createElement('div'); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 var selection = window.getSelection(); | 45 var selection = window.getSelection(); |
| 46 selection.selectAllChildren(editable); | 46 selection.selectAllChildren(editable); |
| 47 document.execCommand('FormatBlock', false, 'footer'); | 47 document.execCommand('FormatBlock', false, 'footer'); |
| 48 selection.removeAllRanges(); | 48 selection.removeAllRanges(); |
| 49 shouldBe('document.getElementById("span2").parentNode.nodeName', '"FOOTER"'); | 49 shouldBe('document.getElementById("span2").parentNode.nodeName', '"FOOTER"'); |
| 50 document.body.removeChild(editable); | 50 document.body.removeChild(editable); |
| 51 | 51 |
| 52 </script> | 52 </script> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |