diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-03-25 11:04:28 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-03-25 11:04:28 +0000 |
commit | 707f23f83a59e692454eb18285a610889ce8102f (patch) | |
tree | 46e7ad81d2955d479cf881c92f7a746edbdfda70 /src | |
parent | 06b89271c1c23e48f627d25b3df05ceef5c8fbc8 (diff) | |
download | jquery-707f23f83a59e692454eb18285a610889ce8102f.tar.gz jquery-707f23f83a59e692454eb18285a610889ce8102f.zip |
Added test for #968
Diffstat (limited to 'src')
-rw-r--r-- | src/jquery/coreTest.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 98a1ba815..77fd17e52 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -826,3 +826,12 @@ test("$().html().evalScripts() Eval's Scripts Twice in Firefox, see #975", funct expect(1);
$("#main").html('<script type="text/javascript">ok( true, "execute script" );</script>').evalScripts();
});
+
+test("$('<tag>') needs optional document parameter to ease cross-frame DOM wrangling, see #968", function() {
+ var f = frames["iframe"].document;
+ f.open();
+ f.write("<html><body></body></html>");
+ f.close();
+ $("<div>Testing</div>").appendTo(f.body);
+ ok( true, "passed" );
+});
\ No newline at end of file |