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 HTMLTableRowElement cells attribute in cases w
here there is unusual nesting.'); | 8 description('Test behavior of the HTMLTableRowElement cells attribute in cases w
here there is unusual nesting.'); |
9 | 9 |
10 function checkCellNesting(tag) | 10 function checkCellNesting(tag) |
11 { | 11 { |
12 var row = document.createElement("tr"); | 12 var row = document.createElement("tr"); |
13 var container = document.createElement(tag); | 13 var container = document.createElement(tag); |
14 var cell = document.createElement("td"); | 14 var cell = document.createElement("td"); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 debug(''); | 56 debug(''); |
57 | 57 |
58 shouldBe('checkHeaderCellNesting("td")', '1'); | 58 shouldBe('checkHeaderCellNesting("td")', '1'); |
59 shouldBe('checkHeaderCellNesting("th")', '1'); | 59 shouldBe('checkHeaderCellNesting("th")', '1'); |
60 | 60 |
61 debug(''); | 61 debug(''); |
62 </script> | 62 </script> |
63 </body> | 63 </body> |
64 </html> | 64 </html> |
OLD | NEW |