diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html index 15855763..8d69aae9 100644 --- a/test/data/offset/fixed.html +++ b/test/data/offset/fixed.html @@ -28,5 +28,6 @@
+

Click the white box to move the marker to it.

\ No newline at end of file diff --git a/test/data/offset/scroll.html b/test/data/offset/scroll.html index d65e0b9a..494f6405 100644 --- a/test/data/offset/scroll.html +++ b/test/data/offset/scroll.html @@ -34,6 +34,6 @@
-

Click the white box to move the marker to it. Clicking the box also changes the position to absolute (if not already) and sets the position according to the position method.

+

Click the white box to move the marker to it.

\ No newline at end of file diff --git a/test/data/offset/static.html b/test/data/offset/static.html index bce715ea..10116af6 100644 --- a/test/data/offset/static.html +++ b/test/data/offset/static.html @@ -15,6 +15,8 @@ $(function() { $('.static').click(function() { $('#marker').css( $(this).offset() ); + var pos = $(this).position(); + $(this).css({ position: 'absolute', top: pos.top, left: pos.left }); return false; }); }); diff --git a/test/data/offset/table.html b/test/data/offset/table.html index de4c728e..5d15b903 100644 --- a/test/data/offset/table.html +++ b/test/data/offset/table.html @@ -38,6 +38,6 @@
-

Click the white box to move the marker to it. Clicking the box also changes the position to absolute (if not already) and sets the position according to the position method.

+

Click the white box to move the marker to it.

\ No newline at end of file