blob: 7b8e18c29675047ad979116ed8bcc8319553e9db [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