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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Issue 1416283006: Make window.scroll properties relative to the layout viewport by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: worked on review comments Created 5 years, 1 month 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 | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
index 0e3fb0bb4dab61881b4dcb3c972e55988c28b9db..b21ec85b428cb3c129b2732312a902523dadd695 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
@@ -45,10 +45,10 @@ import java.util.concurrent.TimeoutException;
public class ImeTest extends ContentShellTestBase {
private static final String DATA_URL = UrlUtils.encodeHtmlDataUri(
"<html><head><meta name=\"viewport\""
- + "content=\"width=device-width, initial-scale=2.0, maximum-scale=2.0\" /></head>"
+ + "content=\"width=device-width\" /></head>"
+ "<body><form action=\"about:blank\">"
+ "<input id=\"input_text\" type=\"text\" /><br/></form><form>"
- + "<input id=\"input_radio\" type=\"radio\" style=\"width:50px;height:50px\" />"
+ + "<br/><input id=\"input_radio\" type=\"radio\" style=\"width:50px;height:50px\" />"
+ "<br/><textarea id=\"textarea\" rows=\"4\" cols=\"20\"></textarea>"
+ "<br/><textarea id=\"textarea2\" rows=\"4\" cols=\"20\" autocomplete=\"off\">"
+ "</textarea>"
@@ -83,7 +83,7 @@ public class ImeTest extends ContentShellTestBase {
mCallbackContainer = new TestCallbackHelperContainer(mContentViewCore);
// TODO(aurimas) remove this wait once crbug.com/179511 is fixed.
- assertWaitForPageScaleFactorMatch(2);
+ assertWaitForPageScaleFactorMatch(1);
assertTrue(DOMUtils.waitForNonZeroNodeBounds(
mWebContents, "input_text"));
DOMUtils.clickNode(this, mContentViewCore, "input_text");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/Window/window-scaled-viewport-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698