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

This commit is contained in:
Tim Ledbetter
2024-11-30 21:57:18 +00:00
committed by Andreas Kling
parent bc484258c2
commit ac7fad52f6
Notes: github-actions[bot] 2024-12-02 09:26:54 +00:00
3 changed files with 20 additions and 1 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", "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);
});