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

Side by Side Diff: ManualTests/qt/numpad-enter-key.html

Issue 18045005: Remove qt and gtk manual tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
« no previous file with comments | « ManualTests/qt/main.html ('k') | ManualTests/qt/plugin-iframe.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4 window.onload = function() {
5 document.getElementById('test').addEventListener('keypress', functio n(e) {
6 out = document.getElementById('out');
7 out.innerHTML = 'keyCode: ' + e.keyCode + ' (should be 13)';
8 if (e.keyCode == 13)
9 out.style.background = '#6f6';
10 else
11 out.style.background = '#f66';
12 }, false);
13 document.getElementById('test').focus()
14 };
15 </script>
16 </head>
17 <body>
18 <p>Press the numpad Enter key while the input box below is focused:</p>
19 <p><input type="text" id="test" /></p>
20 <p id="out"></p>
21 </body>
22 </html>
OLDNEW
« no previous file with comments | « ManualTests/qt/main.html ('k') | ManualTests/qt/plugin-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698