mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibWeb: Support :open for file and color <input>
elements
This commit is contained in:
parent
942e14c27a
commit
dc58f6567f
Notes:
github-actions[bot]
2025-02-10 13:58:35 +00:00
Author: https://github.com/AtkinsSJ
Commit: dc58f6567f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3419
4 changed files with 48 additions and 9 deletions
|
@ -216,6 +216,10 @@ public:
|
|||
bool selection_direction_applies() const;
|
||||
bool has_selectable_text() const;
|
||||
|
||||
bool supports_a_picker() const;
|
||||
bool is_open() const { return m_is_open; }
|
||||
void set_is_open(bool);
|
||||
|
||||
static bool selection_or_range_applies_for_type_state(TypeAttributeState);
|
||||
|
||||
Optional<String> selection_direction_binding() { return selection_direction(); }
|
||||
|
@ -368,6 +372,8 @@ private:
|
|||
String m_last_src_value;
|
||||
|
||||
bool m_has_uncommitted_changes { false };
|
||||
|
||||
bool m_is_open { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue