diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2016-04-10 15:42:44 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2016-04-11 13:32:51 -0400 |
commit | e5ffcb0838c894e26f4ff32dfec162cf624d8d7d (patch) | |
tree | 1a57c3a0cbf026dcd98d1f821dc9ed6f848f46d3 /test/data/offset/body.html | |
parent | 08d73d7f9c7eec2f0abd14d00bf903625728ef17 (diff) | |
download | jquery-e5ffcb0838c894e26f4ff32dfec162cf624d8d7d.tar.gz jquery-e5ffcb0838c894e26f4ff32dfec162cf624d8d7d.zip |
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040
Closes gh-3049
Diffstat (limited to 'test/data/offset/body.html')
-rw-r--r-- | test/data/offset/body.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/data/offset/body.html b/test/data/offset/body.html index cada87a15..75757d7e6 100644 --- a/test/data/offset/body.html +++ b/test/data/offset/body.html @@ -10,13 +10,14 @@ #firstElement { width: 50px; height: 50px; background: green; } </style> <script src="../../jquery.js"></script> + <script src="../iframeTest.js"></script> <script type="text/javascript" charset="utf-8"> jQuery(function($) { $("body").click(function() { $("marker").css( $(this).offset() ); return false; }); - window.parent.iframeCallback( jQuery, window, document ); + startIframeTest(); }); </script> </head> |