mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02: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:
committed by
Andreas Kling
parent
4630b1a44b
commit
9fc2a63131
Notes:
github-actions[bot]
2024-12-02 09:26:30 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/9fc2a631313 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2685
@@ -19,10 +19,10 @@ public:
|
||||
virtual ~HTMLTableCellElement() override;
|
||||
|
||||
WebIDL::UnsignedLong col_span() const;
|
||||
unsigned row_span() const;
|
||||
WebIDL::UnsignedLong row_span() const;
|
||||
|
||||
WebIDL::ExceptionOr<void> set_col_span(WebIDL::UnsignedLong);
|
||||
WebIDL::ExceptionOr<void> set_row_span(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_row_span(WebIDL::UnsignedLong);
|
||||
|
||||
WebIDL::Long cell_index() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user