| 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 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../js/resources/js-test-pre.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <script> | 8 <script> |
| 9 description("Test various valid name for elements according to the definition of
DOM Level 2.") | 9 description("Test various valid name for elements according to the definition of
DOM Level 2.") |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 'aʳ', | 42 'aʳ', |
| 43 'a0', | 43 'a0', |
| 44 // Exceptions for other Char: '-' and '.' | 44 // Exceptions for other Char: '-' and '.' |
| 45 'a---i', | 45 'a---i', |
| 46 'a...i', | 46 'a...i', |
| 47 ]; | 47 ]; |
| 48 | 48 |
| 49 for (var i in nameList) | 49 for (var i in nameList) |
| 50 shouldBeNonNull("document.createElement('" + nameList[i] +"')"); | 50 shouldBeNonNull("document.createElement('" + nameList[i] +"')"); |
| 51 </script> | 51 </script> |
| 52 <script src="../../js/resources/js-test-post.js"></script> | |
| 53 </body> | 52 </body> |
| 54 </html> | 53 </html> |
| OLD | NEW |