+2010-01-26 Chris Fleizach <cfleizach@apple.com>
+
+ Another attempt to get this test to pass for GTK.
+
+ Add ability for image maps to be focused via tabbing
+ https://bugs.webkit.org/show_bug.cgi?id=17513
+
+ * fast/events/tab-imagemap-expected.txt:
+ * fast/events/tab-imagemap.html:
+
2010-01-25 Darin Fisher <darin@chromium.org>
Reviewed by Brady Eidson.
PASS document.activeElement.id is 'area3'
PASS document.activeElement.id is 'area5'
PASS document.activeElement.id is 'area6'
-PASS document.activeElement.id is 'area1' || 'body'
+PASS document.activeElement.id == 'area1' || document.activeElement.id == 'body' is true
eventSender.keyDown('\t');
shouldBe("document.activeElement.id", "'area6'");
- // We'll skip over area7 because its tabindex=-1. On Mac and others, we'll wrap around to area1.
- // On GTK, we'll go to the body element next.
+ // We'll skip over area7 because its tabindex=-1. On the Mac, the wrap around should give
+ // area1. On GTK, we will go to the body element.
eventSender.keyDown('\t');
- shouldBe("document.activeElement.id", "'area1' || 'body'");
+ shouldBe("document.activeElement.id == 'area1' || document.activeElement.id == 'body'", "true");
successfullyParsed = true;
</script>