mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
LibWeb: Implement the HTMLInputElement.list
attribute
This returns the `HTMLDataListElement` pointed to by the `list` content attribute.
This commit is contained in:
parent
a37315da87
commit
6178557a07
Notes:
github-actions[bot]
2025-03-09 15:11:49 +00:00
Author: https://github.com/tcl3
Commit: 6178557a07
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3782
7 changed files with 164 additions and 1 deletions
|
@ -106,6 +106,8 @@ public:
|
|||
bool indeterminate() const { return m_indeterminate; }
|
||||
void set_indeterminate(bool);
|
||||
|
||||
GC::Ptr<HTMLDataListElement const> list() const;
|
||||
|
||||
void did_pick_color(Optional<Color> picked_color, ColorPickerUpdateState state);
|
||||
|
||||
enum class MultipleHandling {
|
||||
|
@ -356,6 +358,8 @@ private:
|
|||
|
||||
Optional<Regex<ECMA262>> compiled_pattern_regular_expression() const;
|
||||
|
||||
Optional<GC::Ref<HTMLDataListElement const>> suggestions_source_element() const;
|
||||
|
||||
Optional<DOM::DocumentLoadEventDelayer> m_load_event_delayer;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/input.html#dom-input-indeterminate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue