mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-07 11:42:51 +00:00
LibWeb: Don't allow HTMLTextAreaElement
rows and cols to be set to 0
In this case we should fall back to the default value.
This commit is contained in:
parent
ae0c87c747
commit
aafc829e6d
Notes:
github-actions[bot]
2024-11-29 08:50:08 +00:00
Author: https://github.com/tcl3
Commit: aafc829e6d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2619
Reviewed-by: https://github.com/stelar7
4 changed files with 40 additions and 12 deletions
|
@ -102,11 +102,11 @@ public:
|
|||
WebIDL::Long min_length() const;
|
||||
WebIDL::ExceptionOr<void> set_min_length(WebIDL::Long);
|
||||
|
||||
unsigned cols() const;
|
||||
WebIDL::UnsignedLong cols() const;
|
||||
WebIDL::ExceptionOr<void> set_cols(unsigned);
|
||||
|
||||
unsigned rows() const;
|
||||
WebIDL::ExceptionOr<void> set_rows(unsigned);
|
||||
WebIDL::UnsignedLong rows() const;
|
||||
WebIDL::ExceptionOr<void> set_rows(WebIDL::UnsignedLong);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-textarea/input-selectionstart
|
||||
WebIDL::UnsignedLong selection_start_binding() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue