1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:34:57 +00:00

LibWeb: Handle immutable state for HTMLInputElement pickers

Which should not be shown if the element is not mutable.
This commit is contained in:
Shannon Booth 2023-09-03 00:17:37 +12:00 committed by Andreas Kling
parent 7167d6a1c8
commit 5b8be3a08d
2 changed files with 8 additions and 2 deletions

View file

@ -81,6 +81,8 @@ public:
bool indeterminate() const { return m_indeterminate; }
void set_indeterminate(bool);
bool is_mutable() const { return m_is_mutable; }
void did_edit_text_node(Badge<BrowsingContext>);
JS::GCPtr<FileAPI::FileList> files();