forked from ehsan/editing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inserttext2test.html
27 lines (23 loc) · 996 Bytes
/
inserttext2test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<meta charset=utf-8>
<title>Manual insertText tests (space key)</title>
<link rel=stylesheet href=tests.css>
<p>See the <a href=editing.html#tests>Tests</a> section of the specification
for documentation.
<p><input type=button value="Clear cached results" onclick="clearCachedResults()">
<div id=tests>
<input type=button value="Run tests" onclick="runTests()">
<table border=1><tr><th>Input<th>Spec<th>Browser<th>Same</table>
<p><label>New test input: <input></label> <input type=button value="Add test" onclick="addTest()">
</div>
<div id=overlay>Tap the space key repeatedly until this annoying message
disappears! (But not too quickly. And don't hit any other keys or click with
the mouse anywhere, it will mess it up.<span id=testcount> <span></span>
manual test(s) remain.</span>)</div>
<script src=implementation.js></script>
<script src=tests.js></script>
<script>
var command = "inserttext";
var globalValue = " ";
</script>
<script src=manualtest.js></script>