summaryrefslogtreecommitdiffstats
path: root/dom/events/test/bug989198_embedded.html
blob: cee7683cfc6e102f21709eaac2cb213a46d3d1de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<html>
<head>
  <title>Embedded iframe</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body onload="getFocus();">
  <p id="display"></p>
  <div id="content" style="display: none"></div>
  <input id="input" style="display: block;">
  <pre id="test">
  <script type="application/javascript">
    function getFocus() {
      input = document.getElementById("input");
      input.focus();
    }
  </script>
</body>
</html>