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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @MAC-ALLOW:AXRole* 2 @MAC-ALLOW:AXRole*
3 @MAC-ALLOW:AXSubrole* 3 @MAC-ALLOW:AXSubrole*
4 @WIN-ALLOW:PROTECTED 4 @WIN-ALLOW:PROTECTED
5 @WIN-ALLOW:IA2_STATE* 5 @WIN-ALLOW:IA2_STATE*
6 @WIN-ALLOW:text-input-type* 6 @WIN-ALLOW:text-input-type*
7 @WIN-ALLOW:value='•* 7 @WIN-ALLOW:value='•*
8 @WIN-ALLOW:caret_offset* 8 @WIN-ALLOW:caret_offset*
9 @WIN-ALLOW:n_selections*
10 @WIN-ALLOW:selection_start*
11 @WIN-ALLOW:selection_end*
9 --> 12 -->
10 <!DOCTYPE html> 13 <!DOCTYPE html>
11 <html> 14 <html>
12 <body> 15 <body>
13 <input type="password" value="secret"> 16 <input type="password" value="secret">
14 <script> 17 <script>
15 var input = document.querySelector("input"); 18 var input = document.querySelector('input');
16 input.focus(); 19 input.focus();
17 input.setSelectionRange(6, 6); 20 input.setSelectionRange(6, 6);
18 </script> 21 </script>
19 </body> 22 </body>
20 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698