Author: [email protected]
Date: Thu May 14 08:07:35 2009
New Revision: 5374

Modified:
    trunk/user/src/com/google/gwt/user/client/ui/DecoratedPopupPanel.java
    trunk/user/test/com/google/gwt/dom/client/StyleTest.java

Log:
Un-breaks the build by:
- removing a couple of tests from StyleTest that use property values
   unsupported by linux hosted mode.
- fixing a subtle breakage introduced in DecoratedPopupPanel by the removal  
of
   a 'super.' prefix.
Review: rice (DecoratedPopupPanel), jlabanca (TBR, for StyleTest)


Modified:  
trunk/user/src/com/google/gwt/user/client/ui/DecoratedPopupPanel.java
==============================================================================
--- trunk/user/src/com/google/gwt/user/client/ui/DecoratedPopupPanel.java       
 
(original)
+++ trunk/user/src/com/google/gwt/user/client/ui/DecoratedPopupPanel.java       
 
Thu May 14 08:07:35 2009
@@ -130,7 +130,7 @@
      decPanel = new DecoratorPanel(rowStyles, 1);
      decPanel.setStyleName("");
      setStylePrimaryName(DEFAULT_STYLENAME);
-    setWidget(decPanel);
+    super.setWidget(decPanel);
      setStyleName(getContainerElement(), "popupContent", false);
      setStyleName(decPanel.getContainerElement(), prefix + "Content", true);
    }

Modified: trunk/user/test/com/google/gwt/dom/client/StyleTest.java
==============================================================================
--- trunk/user/test/com/google/gwt/dom/client/StyleTest.java    (original)
+++ trunk/user/test/com/google/gwt/dom/client/StyleTest.java    Thu May 14  
08:07:35 2009
@@ -84,10 +84,15 @@
      assertEquals(Cursor.WAIT, style.getCursor());
      style.setCursor(Cursor.HELP);
      assertEquals(Cursor.HELP, style.getCursor());
+
+    // These aren't supported on old mozilla, so testing them will break.
+    // TODO: re-enable these cases when we finally drop linux hosted mode.
+    /*
      style.setCursor(Cursor.COL_RESIZE);
      assertEquals(Cursor.COL_RESIZE, style.getCursor());
      style.setCursor(Cursor.ROW_RESIZE);
      assertEquals(Cursor.ROW_RESIZE, style.getCursor());
+    */
    }

    public void testDisplay() {
@@ -100,8 +105,13 @@
      assertEquals(Display.BLOCK, style.getDisplay());
      style.setDisplay(Display.INLINE);
      assertEquals(Display.INLINE, style.getDisplay());
+
+    // Not supported on old mozilla, so testing it will break.
+    // TODO: re-enable these cases when we finally drop linux hosted mode.
+    /*
      style.setDisplay(Display.INLINE_BLOCK);
      assertEquals(Display.INLINE_BLOCK, style.getDisplay());
+    */
    }

    public void testFontStyle() {

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to