mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 01:36:16 -05:00
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040 Closes gh-3049
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
<body>
|
||||
<div id="test"></div>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script src="../iframeTest.js"></script>
|
||||
<script>
|
||||
window.parent.iframeCallback( jQuery( "#test" ).css( 'width' ) );
|
||||
startIframeTest( jQuery( "#test" ).css( 'width' ) );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user