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

Unified Diff: content/test/data/accessibility/html/input-password.html

Issue 1315703004: Added browser tests for caret position and selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Android tests. Created 5 years, 3 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: content/test/data/accessibility/html/input-password.html
diff --git a/content/test/data/accessibility/html/input-password.html b/content/test/data/accessibility/html/input-password.html
index 31666fd461e6f47c0f913a24aa3b2f9cd1ffdc13..7693a11d5a96a9b55a55a732b19ce148b98089f1 100644
--- a/content/test/data/accessibility/html/input-password.html
+++ b/content/test/data/accessibility/html/input-password.html
@@ -6,13 +6,16 @@
@WIN-ALLOW:text-input-type*
@WIN-ALLOW:value='•*
@WIN-ALLOW:caret_offset*
+@WIN-ALLOW:n_selections*
+@WIN-ALLOW:selection_start*
+@WIN-ALLOW:selection_end*
-->
<!DOCTYPE html>
<html>
<body>
<input type="password" value="secret">
<script>
- var input = document.querySelector("input");
+ var input = document.querySelector('input');
input.focus();
input.setSelectionRange(6, 6);
</script>

Powered by Google App Engine
This is Rietveld 408576698