aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/event
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-04-08 21:33:25 -0400
committerDave Methvin <dave.methvin@gmail.com>2013-04-08 21:35:48 -0400
commit85fc5878b3c6af73f42d61eedf73013e7faae408 (patch)
tree9757c54d8d883abf16dedd0376809eeb0ecbac84 /test/data/event
parentf1ba486ee3faeb70faeec1688b79ed085dd6a102 (diff)
downloadjquery-85fc5878b3c6af73f42d61eedf73013e7faae408.tar.gz
jquery-85fc5878b3c6af73f42d61eedf73013e7faae408.zip
Fix #13393. Avoid IE9 activeElement of death.
Diffstat (limited to 'test/data/event')
-rw-r--r--test/data/event/focusElem.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/data/event/focusElem.html b/test/data/event/focusElem.html
new file mode 100644
index 000000000..eed082c1a
--- /dev/null
+++ b/test/data/event/focusElem.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <title>.focus() (activeElement access #13393)</title>
+
+ <script src="../../jquery.js"></script>
+</head>
+<body>
+ <a href="#" id="frame-link"></a>
+ <script>
+ jQuery("#frame-link").focus();
+ window.parent.iframeCallback( true );
+ </script>
+</body>
+</html> \ No newline at end of file