diff options
author | Manolo Carrasco <manolo@apache.org> | 2010-07-31 11:24:59 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2010-07-31 11:24:59 +0000 |
commit | df1715ed15243ad7853b508f17126eb74f58be75 (patch) | |
tree | 2fcb2d1429a8829e4d97bcb99cc032b5182f63c9 /gwtquery-core | |
parent | 66883167776b74b64d0dbc3329c3720aa8574747 (diff) | |
download | gwtquery-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.java | 4 |
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)); |