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

Side by Side Diff: content/test/data/accessibility/html/textarea-with-selection.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
(Empty)
1 <!--
2 @MAC-ALLOW:AXRole*
3 @WIN-ALLOW:IA2_STATE*
4 @WIN-ALLOW:caret_offset*
5 @WIN-ALLOW:n_selections*
6 @WIN-ALLOW:selection_start*
7 @WIN-ALLOW:selection_end*
8 -->
9 <!DOCTYPE html>
10 <html>
11 <body>
12
13 <textarea rows="4" cols="50" autofocus>
14 The textarea tag defines a multi-line text input control.
15 </textarea>
16
17 <script>
18 var textarea = document.querySelector('textarea');
19 textarea.selectionStart = 0;
20 textarea.selectionEnd = textarea.textLength;
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698