diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-06-10 21:54:16 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-06-10 21:54:16 -0400 |
commit | 5f35b3d9f90d07ee084d59702a54051ee51fb0d3 (patch) | |
tree | 7c412b9602b6a3a48435f5adb1d3c84b97bd20dc /test/data | |
parent | 1bb1432fe995881821f433c5b7bf86c61f3b3f50 (diff) | |
download | jquery-5f35b3d9f90d07ee084d59702a54051ee51fb0d3.tar.gz jquery-5f35b3d9f90d07ee084d59702a54051ee51fb0d3.zip |
Fix #11857. Modularize css.js, add dependency management. Closes gh-816.
See the pull request for more info on the dependency management details.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/testinit.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/data/testinit.js b/test/data/testinit.js index f2898e0ba..23bdb9163 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -198,9 +198,8 @@ function url( value ) { function loadFixture() { var src = url("./data/" + fileName + ".html"), - iframe = jQuery("<iframe />").css({ - width: 500, height: 500, position: "absolute", top: -600, left: -600, visibility: "hidden" - }).appendTo("body")[0]; + iframe = jQuery("<iframe />").appendTo("body")[0]; + iframe.style.cssText = "width: 500px; height: 500px; position: absolute; top: -600px; left: -600px; visibility: hidden;"; iframe.contentWindow.location = src; return iframe; } |