mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
fixes #11048: make sure support tests don't modify the layout of the body
This commit is contained in:
parent
c0da49ff37
commit
2982abbb13
@ -283,6 +283,10 @@ jQuery.support = (function() {
|
||||
support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%";
|
||||
}
|
||||
|
||||
if ( typeof container.style.zoom !== "undefined" ) {
|
||||
container.style.zoom = 1;
|
||||
}
|
||||
|
||||
body.removeChild( container );
|
||||
div = container = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user