Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: javatests/org/chromium/distiller/DomDistillerJsTestCase.java

Issue 1142323005: Make TableClassifierTest independent of browser window dimention (Closed) Base URL: git@github.com:chromium/dom-distiller.git@master
Patch Set: fix width for all tests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build.xml ('k') | javatests/org/chromium/distiller/TableClassifierTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
}
« no previous file with comments | « build.xml ('k') | javatests/org/chromium/distiller/TableClassifierTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698