Index: javatests/org/chromium/distiller/DomDistillerJsTestCase.java |
diff --git a/javatests/org/chromium/distiller/DomDistillerJsTestCase.java b/javatests/org/chromium/distiller/DomDistillerJsTestCase.java |
index 37364cdc7d35927772e797576a6817135860a882..43dab5b7df74a542bf2eb3f0c99680706c2226f7 100644 |
--- a/javatests/org/chromium/distiller/DomDistillerJsTestCase.java |
+++ b/javatests/org/chromium/distiller/DomDistillerJsTestCase.java |
@@ -38,5 +38,7 @@ public class DomDistillerJsTestCase extends JsTestCase { |
mRoot.appendChild(mHead); |
mBody = Document.get().createElement("body"); |
mRoot.appendChild(mBody); |
+ // With this, the width of chrome window won't affect the layout. |
+ mRoot.getStyle().setProperty("width", "800px"); |
} |
} |