mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Limit HTMLTableCellElement
rowSpan to allowed values
This change ensures that `rowSpan` is clamped to the maximum value of 65534 if the given value is larger than 2147483647.
This commit is contained in:
parent
4630b1a44b
commit
9fc2a63131
Notes:
github-actions[bot]
2024-12-02 09:26:30 +00:00
Author: https://github.com/tcl3
Commit: 9fc2a63131
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2685
4 changed files with 43 additions and 8 deletions
|
@ -57,6 +57,7 @@
|
|||
testProperty("marquee", "scrollDelay", (marquee) => marquee.scrollDelay, (marquee, value) => marquee.scrollDelay = value);
|
||||
testProperty("select", "size", (select) => select.size, (select, value) => select.size = value);
|
||||
testProperty("td", "colSpan", (tableCell) => tableCell.colSpan, (tableCell, value) => tableCell.colSpan = value);
|
||||
testProperty("td", "rowSpan", (tableCell) => tableCell.rowSpan, (tableCell, value) => tableCell.rowSpan = 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue