summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/input-stoppropagation-ref.html
blob: 99ff791588b6556c596062dd1a44d60818c2c092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<html>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
function onLoad() {
  document.getElementById("input1").focus();
  synthesizeKey("KEY_Tab");
  synthesizeKey("KEY_Tab", {shiftKey: true});
  synthesizeKey("KEY_Tab");
}
</script>
<body onload="onLoad()">
  <input type="text" id="input1"></input>
  <input type="text" id="input2"></input>
</body>
</html>