LayoutPanelTest does not interact nicely with HtmlUnit.

Patch by: bobv
Review by: amitmanjhi (TBR)

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7404 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/ui/LayoutPanelTest.java b/user/test/com/google/gwt/user/client/ui/LayoutPanelTest.java
index 19e9ef3..dab9533 100644
--- a/user/test/com/google/gwt/user/client/ui/LayoutPanelTest.java
+++ b/user/test/com/google/gwt/user/client/ui/LayoutPanelTest.java
@@ -16,6 +16,8 @@
 package com.google.gwt.user.client.ui;
 
 import com.google.gwt.dom.client.Style.Unit;
+import com.google.gwt.junit.DoNotRunWith;
+import com.google.gwt.junit.Platform;
 import com.google.gwt.layout.client.Layout.AnimationCallback;
 import com.google.gwt.layout.client.Layout.Layer;
 import com.google.gwt.user.client.Command;
@@ -26,6 +28,7 @@
  * behavior, not general layout correctness, which is covered by
  * {@link com.google.gwt.layout.client.LayoutTest}.
  */
+@DoNotRunWith(Platform.HtmlUnit)
 public class LayoutPanelTest extends WidgetTestBase {
 
   /**