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

Side by Side Diff: LayoutTests/fast/forms/input-placeholder-visibility-2-expected.html

Issue 392573002: HTMLTextAreaElement.setSelectionRange should not change focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 6 years, 5 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p>Focus field with a placeholder, then type.</p> 6 <p>Focus field with a placeholder, then type.</p>
7 <div> 7 <div>
8 <input id=i1 value="Text"> 8 <input id=i1 value="Text">
9 <script> 9 <script>
10 document.getElementById('i1').focus();
10 document.getElementById('i1').setSelectionRange(4, 4); 11 document.getElementById('i1').setSelectionRange(4, 4);
11 </script> 12 </script>
12 </body> 13 </body>
13 </html> 14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698