git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a3867
)
Be sure to clean up the previous test.
author
jeresig
<jeresig@gmail.com>
Fri, 22 Oct 2010 04:29:52 +0000
(
00:29
-0400)
committer
jeresig
<jeresig@gmail.com>
Fri, 22 Oct 2010 04:29:52 +0000
(
00:29
-0400)
test/unit/css.js
patch
|
blob
|
history
diff --git
a/test/unit/css.js
b/test/unit/css.js
index
ed8f919
..
8f24e2e
100644
(file)
--- a/
test/unit/css.js
+++ b/
test/unit/css.js
@@
-29,6
+29,8
@@
test("css(String|Hash)", function() {
equals( div2.find("textarea").css("width"), "0px", "Width on hidden textarea." );
equals( div2.find("textarea").css("height"), "0px", "Height on hidden textarea." );
+ div2.remove();
+
// handle negative numbers by ignoring #1599, #4216
jQuery('#nothiddendiv').css({ 'width': 1, 'height': 1 });