mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 01:40:46 +00:00
LibWeb+LibJS+Tests: Fix typos - act I
This commit is contained in:
parent
e8213bb86b
commit
b4b8d85251
Notes:
github-actions[bot]
2025-04-07 10:23:14 +00:00
Author: https://github.com/szepeviktor 🔰
Commit: b4b8d85251
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3859
Reviewed-by: https://github.com/AtkinsSJ ✅
9 changed files with 47 additions and 47 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue