mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
LibWeb: Add input and textarea minlength and maxlength support
This commit is contained in:
parent
9b645d20b9
commit
a2f101c10b
15 changed files with 162 additions and 5 deletions
7
Tests/LibWeb/Text/input/input-maxlength.html
Normal file
7
Tests/LibWeb/Text/input/input-maxlength.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<input id="input" type="text" maxlength="5"><script src="include.js"></script><script>
|
||||
test(() => {
|
||||
const input = document.getElementById('input');
|
||||
internals.sendText(input, 'Hello World!');
|
||||
internals.commitText();
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue