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

Side by Side Diff: LayoutTests/fast/events/ime-composition-events-001.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <input id="test" type="text"> 6 <input id="test" type="text">
7 <script> 7 <script>
8 description('This tests that calling input-method functions sends Composition Ev ents and Text Events introduced in DOM Level 3. ' + 8 description('This tests that calling input-method functions sends Composition Ev ents and Text Events introduced in DOM Level 3. ' +
9 'To test manually, enable an IME, input CJK characters, and see this page doesn\ 't show \'FAIL\' lines.'); 9 'To test manually, enable an IME, input CJK characters, and see this page doesn\ 't show \'FAIL\' lines.');
10 </script> 10 </script>
11 <script> 11 <script>
12 function logCompositionStart(event) { 12 function logCompositionStart(event) {
13 shouldBeEqualToString('event.type', 'compositionstart'); 13 shouldBeEqualToString('event.type', 'compositionstart');
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // Case 5: Compose a text on selection and commit it. 60 // Case 5: Compose a text on selection and commit it.
61 test.value = 'I have a pen'; 61 test.value = 'I have a pen';
62 test.selectionStart = 2; 62 test.selectionStart = 2;
63 test.selectionEnd = 6; 63 test.selectionEnd = 6;
64 textInputController.setMarkedText('lost', 0, 1); 64 textInputController.setMarkedText('lost', 0, 1);
65 textInputController.insertText('made'); 65 textInputController.insertText('made');
66 shouldBeEqualToString('test.value', 'I made a pen'); 66 shouldBeEqualToString('test.value', 'I made a pen');
67 </script> 67 </script>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698