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 (from parent 1:
80a4178
)
Getting weird results for font size tests across platforms - easier to test something...
author
jeresig
<jeresig@gmail.com>
Fri, 15 Oct 2010 01:15:20 +0000
(21:15 -0400)
committer
jeresig
<jeresig@gmail.com>
Fri, 15 Oct 2010 01:15:20 +0000
(21:15 -0400)
test/unit/css.js
patch
|
blob
|
history
diff --git
a/test/unit/css.js
b/test/unit/css.js
index
4921391
..
16183a8
100644
(file)
--- a/
test/unit/css.js
+++ b/
test/unit/css.js
@@
-113,9
+113,8
@@
test("css(String, Object)", function() {
// using contents will get comments regular, text, and comment nodes
var j = jQuery("#nonnodes").contents();
// using contents will get comments regular, text, and comment nodes
var j = jQuery("#nonnodes").contents();
- j.css("fontSize", "15px");
- equals( j.css("fontSize"), "15px", "Check node,textnode,comment css works" );
-
+ j.css("overflow", "hidden");
+ equals( j.css("overflow"), "hidden", "Check node,textnode,comment css works" );
// opera sometimes doesn't update 'display' correctly, see #2037
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );
// opera sometimes doesn't update 'display' correctly, see #2037
jQuery("#t2037")[0].innerHTML = jQuery("#t2037")[0].innerHTML
equals( jQuery("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );