mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +00:00
LibWeb: Add textarea cols and rows attribute
This commit is contained in:
parent
f3db0003c2
commit
7e6fc9c26e
Notes:
sideshowbarker
2024-07-17 09:41:18 +09:00
Author: https://github.com/bplaat
Commit: 7e6fc9c26e
Pull-request: https://github.com/SerenityOS/serenity/pull/22046
3 changed files with 45 additions and 2 deletions
|
@ -69,6 +69,12 @@ public:
|
|||
// https://www.w3.org/TR/html-aria/#el-textarea
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::textbox; }
|
||||
|
||||
unsigned cols() const;
|
||||
WebIDL::ExceptionOr<void> set_cols(unsigned value);
|
||||
|
||||
unsigned rows() const;
|
||||
WebIDL::ExceptionOr<void> set_rows(unsigned value);
|
||||
|
||||
private:
|
||||
HTMLTextAreaElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue