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

Side by Side Diff: content/test/data/accessibility/html/textarea-with-selection.html

Issue 1416873015: Text controls should expose their value instead of their name via IAccessibleText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed radio menu items test on Android. 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 unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 @MAC-ALLOW:AXRole* 2 @MAC-ALLOW:AXRole*
3 @WIN-ALLOW:caret_offset*
4 @WIN-ALLOW:ia2_hypertext=*
3 @WIN-ALLOW:IA2_STATE* 5 @WIN-ALLOW:IA2_STATE*
4 @WIN-ALLOW:caret_offset*
5 @WIN-ALLOW:n_selections* 6 @WIN-ALLOW:n_selections*
6 @WIN-ALLOW:selection_start* 7 @WIN-ALLOW:selection_start*
7 @WIN-ALLOW:selection_end* 8 @WIN-ALLOW:selection_end*
8 --> 9 -->
9 <!DOCTYPE html> 10 <!DOCTYPE html>
10 <html> 11 <html>
11 <body> 12 <body>
12 13
13 <textarea rows="4" cols="50" autofocus> 14 <textarea rows="4" cols="50" autofocus>
14 The textarea tag defines a multi-line text input control. 15 The textarea tag defines a multi-line text input control.
15 </textarea> 16 </textarea>
16 17
17 <script> 18 <script>
18 var textarea = document.querySelector('textarea'); 19 var textarea = document.querySelector('textarea');
19 textarea.selectionStart = 0; 20 textarea.selectionStart = 0;
20 textarea.selectionEnd = textarea.textLength; 21 textarea.selectionEnd = textarea.textLength;
21 </script> 22 </script>
22 </body> 23 </body>
23 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698