blob: 820620eb5c03a63f927cda930485225ec9f5d6b7 [file] [log] [blame]
Test various valid name for elements according to the definition of DOM Level 2.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.createElement('0ascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('.Ascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('-Ascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement(' ascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement(' ascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('֑sc.ii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('⃣scii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('िascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('ʳascii') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('asc i') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('asc i') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS document.createElement('asciiⅦ') threw exception Error: InvalidCharacterError: DOM Exception 5.
PASS successfullyParsed is true
TEST COMPLETE