mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Add select element size property
This commit is contained in:
committed by
Andreas Kling
parent
abb4b6d117
commit
4e5ce7b63e
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user