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

Unified Diff: chrome/test/data/password/form_and_link.html

Issue 297693002: Tests for "WebView: speed up user gesture notification for GestureTap" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Limit test to Aura Created 6 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
Index: chrome/test/data/password/form_and_link.html
diff --git a/chrome/test/data/password/form_and_link.html b/chrome/test/data/password/form_and_link.html
index bf31b44a824637700bf79ca94e6bf90d4b735685..6bac0cc04246e476180a25f397cefb12625db8ad 100644
--- a/chrome/test/data/password/form_and_link.html
+++ b/chrome/test/data/password/form_and_link.html
@@ -1,9 +1,23 @@
<html>
+<head>
+<style>
+/* The submit button's position and size is fixed, so that it's easy to specify
+ * tap/click coordinates for it. */
+#input_submit_button {
+ top: 100px;
+ left: 0px;
+ position: absolute;
+ height: 300px;
+ width: 700px;
+}
+</style>
+</head>
<body>
-<form method="POST" action="done.html" id="testform">
+<!-- Use GET, so that the password is visible in the URL after submitting. -->
+<form method="GET" action="done.html" id="testform">
<input type="text" id="username_field" name="username_field">
<input type="password" id="password_field" name="password_field">
- <input type="submit" id="input_submit_button" name="input_submit_button">
+ <input type="submit" id="input_submit_button">
</form>
<a href="done.html" id="testlink" target="_blank">Link</a>
</body>
« no previous file with comments | « chrome/browser/password_manager/password_manager_browsertest.cc ('k') | content/public/test/browser_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698