mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Limit HTMLTableColElement
span to allowed values
This change ensures that `span` is clamped to the maximum value of 1000 if the given value is larger than 2147483647.
This commit is contained in:
parent
9fc2a63131
commit
44cf457fd2
Notes:
github-actions[bot]
2024-12-02 09:26:24 +00:00
Author: https://github.com/tcl3
Commit: 44cf457fd2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2685
4 changed files with 37 additions and 4 deletions
|
@ -45,6 +45,7 @@
|
|||
|
||||
testProperty("canvas", "width", (canvas) => canvas.width, (canvas, value) => canvas.width = value);
|
||||
testProperty("canvas", "height", (canvas) => canvas.height, (canvas, value) => canvas.height = value);
|
||||
testProperty("colgroup", "span", (colgroup) => colgroup.span, (colgroup, value) => colgroup.span = value);
|
||||
testProperty("img", "height", (img) => img.height, (img, value) => img.height = value);
|
||||
testProperty("img", "hspace", (img) => img.hspace, (img, value) => img.hspace = value);
|
||||
testProperty("img", "width", (img) => img.width, (img, value) => img.width = value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue