1 Test various valid name for elements according to the definition of DOM Level 2.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS document.createElement('0ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('0ascii') is not a valid name..
7 PASS document.createElement('.Ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('.Ascii') is not a valid name..
8 PASS document.createElement('-Ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('-Ascii') is not a valid name..
9 PASS document.createElement(' ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided (' ascii') is not a valid name..
10 PASS document.createElement(' ascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided (' ascii') is not a valid name..
11 PASS document.createElement('֑sc.ii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('֑sc.ii') is not a valid name..
12 PASS document.createElement('⃣scii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('⃣scii') is not a valid name..
13 PASS document.createElement('िascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('िascii') is not a valid name..
14 PASS document.createElement('ʳascii') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('ʳascii') is not a valid name..
15 PASS document.createElement('asc i') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('asc i') is not a valid name..
16 PASS document.createElement('asc i') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('asc i') is not a valid name..
17 PASS document.createElement('asciiⅦ') threw exception InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('asciiⅦ') is not a valid name..
18 PASS successfullyParsed is true