| 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 hgroup element.'); | 8 description('Various tests for the hgroup element.'); |
| 9 | 9 |
| 10 var testParent = document.createElement('div'); | 10 var testParent = document.createElement('div'); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 var selection = window.getSelection(); | 43 var selection = window.getSelection(); |
| 44 selection.selectAllChildren(editable); | 44 selection.selectAllChildren(editable); |
| 45 document.execCommand('FormatBlock', false, 'hgroup'); | 45 document.execCommand('FormatBlock', false, 'hgroup'); |
| 46 selection.removeAllRanges(); | 46 selection.removeAllRanges(); |
| 47 shouldBe('document.getElementById("span2").parentNode.nodeName', '"HGROUP"'); | 47 shouldBe('document.getElementById("span2").parentNode.nodeName', '"HGROUP"'); |
| 48 document.body.removeChild(editable); | 48 document.body.removeChild(editable); |
| 49 | 49 |
| 50 </script> | 50 </script> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |