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

Side by Side Diff: sky/tests/editing/backspace.sky

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/tests/editing/backspace.html ('k') | sky/tests/editing/replace.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body> 1 <body>
2 <style> 2 <style>
3 .editable { 3 .editable {
4 -webkit-user-modify: read-write-plaintext-only; 4 -webkit-user-modify: read-write-plaintext-only;
5 border: 2px solid blue; 5 border: 2px solid blue;
6 } 6 }
7 </style> 7 </style>
8 <div class="editable"></div> 8 <div class="editable"></div>
9 <script> 9 <script>
10 if (window.eventSender) { 10 if (window.eventSender) {
11 var control = document.querySelector('.editable'); 11 var control = document.querySelector('.editable');
12 control.focus(); 12 control.focus();
13 eventSender.keyDown('a'); 13 eventSender.keyDown('a');
14 eventSender.keyDown('b'); 14 eventSender.keyDown('b');
15 eventSender.keyDown('backspace'); 15 eventSender.keyDown('backspace');
16 } 16 }
17 if (window.testRunner) 17 if (window.testRunner)
18 testRunner.dumpAsText(); 18 testRunner.dumpAsText();
19 </script> 19 </script>
20 </body> 20 </body>
OLDNEW
« no previous file with comments | « sky/tests/editing/backspace.html ('k') | sky/tests/editing/replace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698