blob: bd138ccbf6f1b1926efe1e614e75d83e6615b603 [file] [log] [blame]
<table style="text-align: top;" border="0" cellpadding="3px" cellspacing="3px">
<tr>
<td valign="top" width="10%">
<a id="start" href="">Link</a><br>
</td>
<td valign="top">
<iframe id="frameA" width="50%" height="100px" frameborder="1" src="data:text/html,
<body id='frameAbody'>
<a id='b' href=''>b</a>
<a id='c' href=''>c</a>
<a id='d' href=''>d</a>
</body>
"></iframe><br>
</td>
</tr>
</table>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/snav-testharness.js"></script>
<script>
var resultMap = [
["Right", "frameA,frameAbody"],
["Right", "frameA,b"],
["Right", "frameA,c"],
["Right", "frameA,d"],
["Left", "frameA,c"],
["Left", "frameA,b"],
["Left", "start"],
];
// Start at a known place.
document.getElementById("start").focus();
snav.assertFocusMoves(resultMap);
</script>