summaryrefslogtreecommitdiffstats
path: root/dom/events/test/bug989198_embedded.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/events/test/bug989198_embedded.html')
-rw-r--r--dom/events/test/bug989198_embedded.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/events/test/bug989198_embedded.html b/dom/events/test/bug989198_embedded.html
new file mode 100644
index 000000000..cee7683cf
--- /dev/null
+++ b/dom/events/test/bug989198_embedded.html
@@ -0,0 +1,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>