mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Add textarea cols and rows attribute
This commit is contained in:
committed by
Andreas Kling
parent
f3db0003c2
commit
7e6fc9c26e
Notes:
sideshowbarker
2024-07-17 09:41:18 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/7e6fc9c26e Pull-request: https://github.com/SerenityOS/serenity/pull/22046
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user