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

This commit is contained in:
Tim Ledbetter 2024-11-30 20:06:38 +00:00 committed by Andreas Kling
commit bc484258c2
Notes: github-actions[bot] 2024-12-02 09:27:00 +00:00
3 changed files with 20 additions and 1 deletions

View file

@ -48,6 +48,7 @@
testProperty("img", "hspace", (img) => img.hspace, (img, value) => img.hspace = value);
testProperty("img", "width", (img) => img.width, (img, value) => img.width = value);
testProperty("input", "maxLength", (input) => input.maxLength, (input, value) => input.maxLength = value);
testProperty("input", "minLength", (input) => input.minLength, (input, value) => input.minLength = value);
testProperty("input", "size", (input) => input.size, (input, value) => input.size = value);
testProperty(imageButtonInputFactory, "height", (input) => input.height, (input, value) => input.height = value);
testProperty(imageButtonInputFactory, "width", (input) => input.width, (input, value) => input.width = value);