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 HTMLTableElement rows attribute in cases where
there is unusual nesting.'); | 8 description('Test behavior of the HTMLTableElement rows attribute in cases where
there is unusual nesting.'); |
9 | 9 |
10 function checkNoBodyRowNesting(tag) | 10 function checkNoBodyRowNesting(tag) |
11 { | 11 { |
12 var table = document.createElement("table"); | 12 var table = document.createElement("table"); |
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 shouldBe('checkNoBodyRowNesting("' + sectionTags[i] + '")', '1'); | 69 shouldBe('checkNoBodyRowNesting("' + sectionTags[i] + '")', '1'); |
70 | 70 |
71 debug(''); | 71 debug(''); |
72 | 72 |
73 shouldBe('checkNoBodyRowNesting("tr")', '1'); | 73 shouldBe('checkNoBodyRowNesting("tr")', '1'); |
74 | 74 |
75 debug(''); | 75 debug(''); |
76 </script> | 76 </script> |
77 </body> | 77 </body> |
78 </html> | 78 </html> |
OLD | NEW |