mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb: Add select element size property
This commit is contained in:
parent
abb4b6d117
commit
4e5ce7b63e
Notes:
sideshowbarker
2024-07-17 02:05:41 +09:00
Author: https://github.com/bplaat
Commit: 4e5ce7b63e
Pull-request: https://github.com/SerenityOS/serenity/pull/23895
Reviewed-by: https://github.com/shannonbooth
5 changed files with 46 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/HTML/HTMLOptionsCollection.h>
|
||||
#include <LibWeb/HTML/SelectItem.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -28,6 +29,9 @@ public:
|
|||
|
||||
virtual void adjust_computed_style(CSS::StyleProperties&) override;
|
||||
|
||||
WebIDL::UnsignedLong size() const;
|
||||
WebIDL::ExceptionOr<void> set_size(WebIDL::UnsignedLong);
|
||||
|
||||
JS::GCPtr<HTMLOptionsCollection> const& options();
|
||||
|
||||
size_t length();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue