aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-07-31 11:24:59 +0000
committerManolo Carrasco <manolo@apache.org>2010-07-31 11:24:59 +0000
commitdf1715ed15243ad7853b508f17126eb74f58be75 (patch)
tree2fcb2d1429a8829e4d97bcb99cc032b5182f63c9 /gwtquery-core
parent66883167776b74b64d0dbc3329c3720aa8574747 (diff)
downloadgwtquery-df1715ed15243ad7853b508f17126eb74f58be75.tar.gz
gwtquery-df1715ed15243ad7853b508f17126eb74f58be75.zip
fixed events test for htmlunit
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTest.java
index cf9da10c..8b09f1d6 100644
--- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTest.java
+++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTest.java
@@ -219,7 +219,7 @@ public class GQueryEventsTest extends GWTTestCase {
assertEquals("green", $("p", e).css("background-color"));
assertEquals(24.0d, GQUtils.cur($("p", e).get(0), "fontSize", true));
- $("p", e).css("color","").css("background-color","").css("fontSize", "12px");
+ $("p", e).css("color","").css("background","").css("fontSize", "12px");
assertFalse("red".equalsIgnoreCase($("p", e).css("color")));
assertFalse("green".equalsIgnoreCase($("p", e).css("background-color")));
assertEquals(12.0d, GQUtils.cur($("p", e).get(0), "fontSize", true));
@@ -231,7 +231,7 @@ public class GQueryEventsTest extends GWTTestCase {
assertEquals(24.0d, GQUtils.cur($("p", e).get(0), "fontSize", true));
- $("p", e).css("color","").css("background-color","").css("fontSize", "12px");
+ $("p", e).css("color","").css("background","").css("fontSize", "12px");
assertFalse("red".equalsIgnoreCase($("p", e).css("color")));
assertFalse("green".equalsIgnoreCase($("p", e).css("background-color")));
assertEquals(12.0d, GQUtils.cur($("p", e).get(0), "fontSize", true));