]> source.dussan.org Git - jquery.git/commitdiff
Landing pull request 433. Fix testswarm test cases. Fixes #9555.
authorKrinkle <krinklemail@gmail.com>
Tue, 12 Jul 2011 21:12:07 +0000 (17:12 -0400)
committertimmywil <timmywillisn@gmail.com>
Tue, 12 Jul 2011 21:12:07 +0000 (17:12 -0400)
More Details:
 - https://github.com/jquery/jquery/pull/433
 - http://bugs.jquery.com/ticket/9555

test/data/support/bodyBackground.html
test/data/support/boxModelIE.html

index 9963c391309da9e62626e8181f296e21a8920ea8..4fd9df7f60b31a51b5110caf0034b0b1a98a12ae 100644 (file)
@@ -31,7 +31,7 @@
                <script src="../../../src/dimensions.js"></script>
        </div>
        <script>
-               window.top.supportCallback( jQuery( "body" ).css( "backgroundColor" ), jQuery.support );
+               window.parent.supportCallback( jQuery( "body" ).css( "backgroundColor" ), jQuery.support );
        </script>
 </body>
 </html>
index 1b11d2a595de3235223b02676cb161fa01fa83c3..e3c907d3474b6a54d6fc2d80672d40aa73f689eb 100644 (file)
@@ -21,7 +21,7 @@
        <script src="../../../src/offset.js"></script>
        <script src="../../../src/dimensions.js"></script>
        <script>
-       window.top.supportCallback( document.compatMode, jQuery.support.boxModel );
+       window.parent.supportCallback( document.compatMode, jQuery.support.boxModel );
        </script>
 </body>
 </html>