| 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('Test behavior of the HTMLTableSectionElement rows attribute in case
s where there is unusual nesting.'); | 8 description('Test behavior of the HTMLTableSectionElement rows attribute in case
s where there is unusual nesting.'); |
| 9 | 9 |
| 10 function checkRowNesting(tag) | 10 function checkRowNesting(tag) |
| 11 { | 11 { |
| 12 var body = document.createElement("tbody"); | 12 var body = document.createElement("tbody"); |
| 13 var container = document.createElement(tag); | 13 var container = document.createElement(tag); |
| 14 var row = document.createElement("tr"); | 14 var row = document.createElement("tr"); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 43 shouldBe('checkRowNesting("' + sectionTags[i] + '")', '0'); | 43 shouldBe('checkRowNesting("' + sectionTags[i] + '")', '0'); |
| 44 | 44 |
| 45 debug(''); | 45 debug(''); |
| 46 | 46 |
| 47 shouldBe('checkRowNesting("tr")', '1'); | 47 shouldBe('checkRowNesting("tr")', '1'); |
| 48 | 48 |
| 49 debug(''); | 49 debug(''); |
| 50 </script> | 50 </script> |
| 51 </body> | 51 </body> |
| 52 </html> | 52 </html> |
| OLD | NEW |