diff options
Diffstat (limited to 'gwtquery-core/src/test/java')
-rw-r--r-- | gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java index 0ad8ae40..315999a1 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryEventsTestGwt.java @@ -455,28 +455,6 @@ public class GQueryEventsTestGwt extends GWTTestCase { assertEquals("", $("p", e).css("border", false)); } - @DoNotRunWith({Platform.HtmlUnitLayout}) - public void testSpecialFocusInOut() { - $(e).html("<p>Content</p>"); - $("p", e).on(EventsListener.FOCUSIN, new Function() { - public void f(Element elem) { - GQuery.console.log("focus"); - $(elem).css("background-color", "red"); - } - }); - $("p", e).focus(); - assertEquals("red", $("p", e).css("background-color", false)); - - // blur - $("p", e).on(EventsListener.FOCUSOUT, new Function() { - public void f(Element elem) { - $(elem).css("background-color", "white"); - } - }); - $("p", e).blur(); - assertEquals("white", $("p", e).css("background-color", false)); - } - public void testLazyMethods() { $(e).css(CSS.COLOR.with(RGBColor.WHITE)); assertEquals("white", $(e).css("color", false)); |