| 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 10 matching lines...) Expand all Loading... |
| 21 'ʳascii', | 21 'ʳascii', |
| 22 // Invalid other char | 22 // Invalid other char |
| 23 'asc i', | 23 'asc i', |
| 24 'asc i', | 24 'asc i', |
| 25 'asciiⅦ' | 25 'asciiⅦ' |
| 26 ]; | 26 ]; |
| 27 | 27 |
| 28 for (var i in nameList) | 28 for (var i in nameList) |
| 29 shouldThrow("document.createElement('" + nameList[i] +"')", "'InvalidCharact
erError: The string contains invalid characters.'"); | 29 shouldThrow("document.createElement('" + nameList[i] +"')", "'InvalidCharact
erError: The string contains invalid characters.'"); |
| 30 </script> | 30 </script> |
| 31 <script src="../../js/resources/js-test-post.js"></script> | |
| 32 </body> | 31 </body> |
| 33 </html> | 32 </html> |
| OLD | NEW |