blob: 8bc6a8d353523cc537ec326c895f6c88e147ab5e [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 InvalidCharacterError: The string contains invalid characters..
PASS document.createElement('.Ascii') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement('-Ascii') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement(' ascii') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement(' ascii') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement(';ascii') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement('asc i') threw exception InvalidCharacterError: The string contains invalid characters..
PASS document.createElement('asc i') threw exception InvalidCharacterError: The string contains invalid characters..
PASS successfullyParsed is true
TEST COMPLETE