Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fixes #11048: make sure support tests don't modify the layout of the …
…body
- Loading branch information
1 parent
c0da49f
commit 2982abbb13454bd4bdf0299f1183fb0d8c02f02d
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -283,6 +283,10 @@ jQuery.support = (function() { | ||
support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%"; | ||
} | ||
|
||
if ( typeof container.style.zoom !== "undefined" ) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mikesherov
Author
Member
|
||
container.style.zoom = 1; | ||
} | ||
|
||
body.removeChild( container ); | ||
div = container = null; | ||
|
||
were you able to reproduce the problem?