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

Side by Side Diff: LayoutTests/accessibility/editable-selected-range.html

Issue 1073953002: Renamed layout tests in preparation for adding code to test contenteditable and role="textbox" in a… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <body> 6 <body>
7 7
8 <div id="result"></div> 8 <div id="result"></div>
9 9
10 <textarea name="area1" id="area1" rows="5" cols="40"> 10 <textarea name="area1" id="area1" rows="5" cols="40">
(...skipping 17 matching lines...) Expand all
28 textArea.setSelectedTextRange(8,2); 28 textArea.setSelectedTextRange(8,2);
29 result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n" ; 29 result.innerText += "(8,2) = " + textArea.selectedTextRange + "\n\n" ;
30 30
31 textArea.setSelectedTextRange(100,0); 31 textArea.setSelectedTextRange(100,0);
32 result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\ n"; 32 result.innerText += "(100,0) = " + textArea.selectedTextRange + "\n\ n";
33 33
34 } 34 }
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698