diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/editing/manual | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/editing/manual')
6 files changed, 145 insertions, 0 deletions
diff --git a/testing/web-platform/tests/editing/manual/delete-manual.html b/testing/web-platform/tests/editing/manual/delete-manual.html new file mode 100644 index 0000000000..be8c773b1d --- /dev/null +++ b/testing/web-platform/tests/editing/manual/delete-manual.html @@ -0,0 +1,24 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual delete (backspace) tests</title> +<link rel=stylesheet href=../include/tests.css> + +<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 backspace 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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "delete"; +</script> +<script src=../include/manualtest.js></script> diff --git a/testing/web-platform/tests/editing/manual/forwarddelete-manual.html b/testing/web-platform/tests/editing/manual/forwarddelete-manual.html new file mode 100644 index 0000000000..9c42b88f7a --- /dev/null +++ b/testing/web-platform/tests/editing/manual/forwarddelete-manual.html @@ -0,0 +1,24 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual forwardDelete (delete key) tests</title> +<link rel=stylesheet href=../include/tests.css> + +<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 delete 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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "forwarddelete"; +</script> +<script src=../include/manualtest.js></script> diff --git a/testing/web-platform/tests/editing/manual/insertlinebreak-manual.html b/testing/web-platform/tests/editing/manual/insertlinebreak-manual.html new file mode 100644 index 0000000000..631fc04317 --- /dev/null +++ b/testing/web-platform/tests/editing/manual/insertlinebreak-manual.html @@ -0,0 +1,24 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual insertLineBreak (Shift-Enter) tests</title> +<link rel=stylesheet href=../include/tests.css> + +<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 Shift-Enter (or Mac equivalent) 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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "insertlinebreak"; +</script> +<script src=../include/manualtest.js></script> diff --git a/testing/web-platform/tests/editing/manual/insertparagraph-manual.html b/testing/web-platform/tests/editing/manual/insertparagraph-manual.html new file mode 100644 index 0000000000..468a096f03 --- /dev/null +++ b/testing/web-platform/tests/editing/manual/insertparagraph-manual.html @@ -0,0 +1,24 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual insertParagraph (enter key) tests</title> +<link rel=stylesheet href=../include/tests.css> + +<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 enter 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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "insertparagraph"; +</script> +<script src=../include/manualtest.js></script> diff --git a/testing/web-platform/tests/editing/manual/inserttext-manual.html b/testing/web-platform/tests/editing/manual/inserttext-manual.html new file mode 100644 index 0000000000..c796c05747 --- /dev/null +++ b/testing/web-platform/tests/editing/manual/inserttext-manual.html @@ -0,0 +1,24 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual insertText tests (A key)</title> +<link rel=stylesheet href=../include/tests.css> + +<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 A 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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "inserttext"; +</script> +<script src=../include/manualtest.js></script> diff --git a/testing/web-platform/tests/editing/manual/inserttext2-manual.html b/testing/web-platform/tests/editing/manual/inserttext2-manual.html new file mode 100644 index 0000000000..43c3d4b2dc --- /dev/null +++ b/testing/web-platform/tests/editing/manual/inserttext2-manual.html @@ -0,0 +1,25 @@ +<!doctype html> +<meta charset=utf-8> +<title>Manual insertText tests (space key)</title> +<link rel=stylesheet href=../include/tests.css> + +<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=../include/implementation.js></script> +<script src=../include/tests.js></script> +<script> +var command = "inserttext"; +var globalValue = " "; +</script> +<script src=../include/manualtest.js></script> |