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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-scrolled-focus-ring.html

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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> 1 <!doctype html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function test() 4 function test()
5 { 5 {
6 ta.setSelectionRange(ta.value.length, ta.value.length); 6 ta.setSelectionRange(ta.value.length, ta.value.length);
7 ta.focus(); 7 ta.focus();
8 } 8 }
9 </script> 9 </script>
10 </head> 10 </head>
11 <body onload="test()"> 11 <body onload="test()">
12 Test passes if a focus ring is visible around text area when focused and scrolle d to bottom.<br> 12 Test passes if a focus ring is visible around text area when focused and scrolle d to bottom.<br>
13 <textarea id="ta" rows=2> 13 <textarea id="ta" rows=2>
14 1 14 1
15 2 15 2
16 3 16 3
17 4 17 4
18 </textarea> 18 </textarea>
19 </body> 19 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698