aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/offset
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2016-04-08 12:00:17 -0400
committerDave Methvin <dave.methvin@gmail.com>2016-04-11 13:29:11 -0400
commit08d73d7f9c7eec2f0abd14d00bf903625728ef17 (patch)
treea6cfec625dfcde55eed1d88eebd0164356dbcb52 /test/data/offset
parent755e7ccf018eb150eddefe78063a9ec58b3229e3 (diff)
downloadjquery-08d73d7f9c7eec2f0abd14d00bf903625728ef17.tar.gz
jquery-08d73d7f9c7eec2f0abd14d00bf903625728ef17.zip
Tests: Make iframe tests wait after checking isReady
Ref gh-3040
Diffstat (limited to 'test/data/offset')
-rw-r--r--test/data/offset/absolute.html1
-rw-r--r--test/data/offset/body.html1
-rw-r--r--test/data/offset/fixed.html1
-rw-r--r--test/data/offset/relative.html1
-rw-r--r--test/data/offset/scroll.html1
-rw-r--r--test/data/offset/static.html1
-rw-r--r--test/data/offset/table.html1
7 files changed, 7 insertions, 0 deletions
diff --git a/test/data/offset/absolute.html b/test/data/offset/absolute.html
index 58f0cbd2a..84a9e33de 100644
--- a/test/data/offset/absolute.html
+++ b/test/data/offset/absolute.html
@@ -24,6 +24,7 @@
$(this).css({ top: pos.top, left: pos.left });
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/body.html b/test/data/offset/body.html
index c0de297b7..cada87a15 100644
--- a/test/data/offset/body.html
+++ b/test/data/offset/body.html
@@ -16,6 +16,7 @@
$("marker").css( $(this).offset() );
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html
index c695ba4dd..e54389596 100644
--- a/test/data/offset/fixed.html
+++ b/test/data/offset/fixed.html
@@ -20,6 +20,7 @@
$("#marker").css( $(this).offset() );
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/relative.html b/test/data/offset/relative.html
index f88c82ab9..b413e05ee 100644
--- a/test/data/offset/relative.html
+++ b/test/data/offset/relative.html
@@ -20,6 +20,7 @@
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/scroll.html b/test/data/offset/scroll.html
index c8c08020f..49304eee7 100644
--- a/test/data/offset/scroll.html
+++ b/test/data/offset/scroll.html
@@ -24,6 +24,7 @@
$("#marker").css( $(this).offset() );
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/static.html b/test/data/offset/static.html
index f8cafa882..125ad740f 100644
--- a/test/data/offset/static.html
+++ b/test/data/offset/static.html
@@ -19,6 +19,7 @@
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>
diff --git a/test/data/offset/table.html b/test/data/offset/table.html
index ff2b8579e..1e37957ce 100644
--- a/test/data/offset/table.html
+++ b/test/data/offset/table.html
@@ -17,6 +17,7 @@
$("#marker").css( $(this).offset() );
return false;
});
+ window.parent.iframeCallback( jQuery, window, document );
});
</script>
</head>