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

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

Issue 1072813002: Avoid considering readonly password elements in password form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted comment length to contain within 80 chars Created 5 years, 8 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/password_form_with_password_readonly.html
diff --git a/chrome/test/data/password/password_form_with_password_readonly.html b/chrome/test/data/password/password_form_with_password_readonly.html
new file mode 100644
index 0000000000000000000000000000000000000000..c1c59b6b01f730c225c259aa427e6d5a4154e8d5
--- /dev/null
+++ b/chrome/test/data/password/password_form_with_password_readonly.html
@@ -0,0 +1,24 @@
+<!--
+ Form with readonly password element.
+ -->
+<html>
+<body>
+<form method="POST" action="done.html" onsubmit="return true;" id="testform">
+ <input type="text" id="username_field" name="username_field">
+ <input type="password" readonly id="password_field" name="password_field">
+ <input type="submit" id="input_submit_button" name="input_submit_button">
+</form>
+
+<button id="submit_button" name="submit_button"
+ onclick="document.getElementById('testform').submit()">
+ Submit!
+</button>
+
+<!--
+ Extremly wide <div> to allow scrolling to be tested.
+ -->
+<div style="border:1px solid black;background-color:lightblue;height:75px;width:5000px;">
+</div>
+
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698