Updating unit tests for offset
[jquery.git] / test / data / offset / static.html
index bce715e..10116af 100644 (file)
@@ -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;
                                });
                        });