LibWeb+LibJS+Tests: Fix typos - act I

This commit is contained in:
Viktor Szépe 2025-03-08 14:20:48 +00:00 committed by Sam Atkins
commit b4b8d85251
Notes: github-actions[bot] 2025-04-07 10:23:14 +00:00
9 changed files with 47 additions and 47 deletions

View file

@ -1,9 +1,9 @@
beforeinput data=(r) intputType=(insertText)
beforeinput data=(a) intputType=(insertText)
beforeinput data=(e) intputType=(insertText)
beforeinput data=(b) intputType=(insertText)
beforeinput data=(e) intputType=(insertText)
beforeinput data=(c) intputType=(insertText)
beforeinput data=(e) intputType=(insertText)
beforeinput data=(null) intputType=(insertParagraph)
beforeinput data=(r) inputType=(insertText)
beforeinput data=(a) inputType=(insertText)
beforeinput data=(e) inputType=(insertText)
beforeinput data=(b) inputType=(insertText)
beforeinput data=(e) inputType=(insertText)
beforeinput data=(c) inputType=(insertText)
beforeinput data=(e) inputType=(insertText)
beforeinput data=(null) inputType=(insertParagraph)
Text in input: reee

View file

@ -1,6 +1,6 @@
input data=(h) intputType=(insertText)
input data=(e) intputType=(insertText)
input data=(l) intputType=(insertText)
input data=(l) intputType=(insertText)
input data=(o) intputType=(insertText)
input data=(null) intputType=(insertParagraph)
input data=(h) inputType=(insertText)
input data=(e) inputType=(insertText)
input data=(l) inputType=(insertText)
input data=(l) inputType=(insertText)
input data=(o) inputType=(insertText)
input data=(null) inputType=(insertParagraph)

View file

@ -12,7 +12,7 @@
test(() => {
const input = document.getElementById("input");
input.addEventListener("beforeinput", (e) => {
println(`beforeinput data=(${e.data}) intputType=(${e.inputType})`);
println(`beforeinput data=(${e.data}) inputType=(${e.inputType})`);
if (e.data !== 'r' && e.data !== 'e') {
e.preventDefault();
return;

View file

@ -12,7 +12,7 @@
test(() => {
const input = document.getElementById("input");
input.addEventListener("input", (e) => {
println(`input data=(${e.data}) intputType=(${e.inputType})`);
println(`input data=(${e.data}) inputType=(${e.inputType})`);
});
internals.sendText(input, "hello");
internals.commitText();