blob: 4d66042107226e0583eddb2bf3bd051beec70d97 [file] [log] [blame]
Tests that usemap attribute parsing logic.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
usemap=#navmap
PASS areaWasClicked is true
usemap=navmap
PASS areaWasClicked is false
usemap=#navMap
PASS areaWasClicked is false
usemap=foo#navmap
PASS areaWasClicked is true
usemap=foo#navmap2
PASS areaWasClicked is false
usemap=navmap#
PASS areaWasClicked is false
usemap=navmap#bar
PASS areaWasClicked is false
usemap=#
PASS areaWasClicked is false
usemap=
PASS areaWasClicked is false
PASS successfullyParsed is true
TEST COMPLETE