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

Side by Side Diff: LayoutTests/fast/text/chromium-mac-duplicate-ime-composition.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function check(expect, actual) { 4 function check(expect, actual) {
5 var console = document.getElementById('console'); 5 var console = document.getElementById('console');
6 var div = document.createElement('div'); 6 var div = document.createElement('div');
7 div.innerHTML = expect == actual ? 'PASS' : 'FAIL'; 7 div.innerHTML = expect == actual ? 'PASS' : 'FAIL';
8 div.innerHTML += ' expects = "' + expect + '", actual = "' + actual + '"'; 8 div.innerHTML += ' expects = "' + expect + '", actual = "' + actual + '"';
9 console.appendChild(div); 9 console.appendChild(div);
10 } 10 }
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 </script> 34 </script>
35 </head> 35 </head>
36 <body onload="doTest()"> 36 <body onload="doTest()">
37 <p>This page ensures that the composition text of an input method does not ins ert into the textarea when the composition text is updated but is not committed. The bug, reported in <a href="https://bugs.webkit.org/show_bug.cgi?id=46868">th e issue 46868</a>, should not occur here. When DRT tests this page, it will emul ate changing composition text from "first" to "second". After that, the value of the textarea should be "second" and should not be "secondfirst". </p> 37 <p>This page ensures that the composition text of an input method does not ins ert into the textarea when the composition text is updated but is not committed. The bug, reported in <a href="https://bugs.webkit.org/show_bug.cgi?id=46868">th e issue 46868</a>, should not occur here. When DRT tests this page, it will emul ate changing composition text from "first" to "second". After that, the value of the textarea should be "second" and should not be "secondfirst". </p>
38 <p>For manual test, input text into the following textarea by using an input m ethod. The composition text which is not committed should not be inserted into t he textarea.</p> 38 <p>For manual test, input text into the following textarea by using an input m ethod. The composition text which is not committed should not be inserted into t he textarea.</p>
39 <textarea id="textarea"></textarea> 39 <textarea id="textarea"></textarea>
40 <div id="console"></div> 40 <div id="console"></div>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698