mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Support: Simplify the box-sizing test
Don't require body in the support.boxSizing test.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body {
|
||||
zoom: 0.87;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script src="../../jquery.js"></script>
|
||||
<script>
|
||||
jQuery(function() {
|
||||
window.parent.iframeCallback( jQuery.support.boxSizing() );
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -45,11 +45,6 @@ if ( jQuery.css ) {
|
||||
});
|
||||
}
|
||||
|
||||
testIframeWithCallback( "A non-1 zoom on body doesn't cause WebKit to fail box-sizing test", "support/boxSizing.html", function( boxSizing ) {
|
||||
expect( 1 );
|
||||
equal( boxSizing, computedSupport.boxSizing, "box-sizing properly detected on page with non-1 body zoom" );
|
||||
});
|
||||
|
||||
testIframeWithCallback( "A background on the testElement does not cause IE8 to crash (#9823)", "support/testElementCrash.html", function() {
|
||||
expect( 1 );
|
||||
ok( true, "IE8 does not crash" );
|
||||
|
||||
Reference in New Issue
Block a user