summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/editing/manual
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/editing/manual
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/editing/manual')
-rw-r--r--testing/web-platform/tests/editing/manual/delete-manual.html24
-rw-r--r--testing/web-platform/tests/editing/manual/forwarddelete-manual.html24
-rw-r--r--testing/web-platform/tests/editing/manual/insertlinebreak-manual.html24
-rw-r--r--testing/web-platform/tests/editing/manual/insertparagraph-manual.html24
-rw-r--r--testing/web-platform/tests/editing/manual/inserttext-manual.html24
-rw-r--r--testing/web-platform/tests/editing/manual/inserttext2-manual.html25
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>