blob: 4adb4f055fb404255642f2d5f3e84dbc307c98af [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
<script src="../../resources/accessibility-helper.js"></script>
</head>
<body>
<map id="apple" name="imagemap1">
<area shape="rect" coords="10,10,133,72" href="#Link1" title="Link1" />
<area shape="rect" coords="20,50,133,72" href="#Link2" title="Link2" />
</map>
<img src="resources/cake.png" border="0" align="left" usemap="#imagemap1" vspace="1">
<a href="#Link3">Link3</a>
<a href="#Link4">Link4</a>
<script>
description("This test passes if all four links on the page are found.")
let webarea = accessibilityController.rootElement.childAtIndex(0);
debugEscaped(webarea.attributesOfDocumentLinks());
</script>
</body>
</html>