LibWeb: Restrict HTMLTextAreaElement::min_length to the range of i32

This commit is contained in:
Tim Ledbetter 2024-11-30 22:00:16 +00:00 committed by Andreas Kling
commit 7097152ebc
Notes: github-actions[bot] 2024-12-02 09:26:49 +00:00
3 changed files with 21 additions and 2 deletions

View file

@ -55,6 +55,7 @@
testProperty("marquee", "scrollAmount", (marquee) => marquee.scrollAmount, (marquee, value) => marquee.scrollAmount = value);
testProperty("marquee", "scrollDelay", (marquee) => marquee.scrollDelay, (marquee, value) => marquee.scrollDelay = value);
testProperty("select", "size", (select) => select.size, (select, value) => select.size = value);
testProperty("textarea", "maxLength", (textarea) => textarea.maxLength, (textarea, value) => textarea.maxLength = value);
testProperty("textarea", "minLength", (textarea) => textarea.minLength, (textarea, value) => textarea.minLength = value);
testProperty("textarea", "rows", (textarea) => textarea.rows, (textarea, value) => textarea.rows = value);
testProperty("textarea", "cols", (textarea) => textarea.cols, (textarea, value) => textarea.cols = value);