LibWeb: Implement autocorrect attribute

This commit is contained in:
Callum Law 2025-05-26 17:36:15 +12:00 committed by Luke Wilde
commit 829437c11d
Notes: github-actions[bot] 2025-08-29 14:48:21 +00:00
6 changed files with 428 additions and 1 deletions

View file

@ -135,6 +135,15 @@ public:
String autocapitalize() const;
void set_autocapitalize(String const&);
enum class AutocorrectionState {
On,
Off
};
AutocorrectionState used_autocorrection_state() const;
bool autocorrect() const;
void set_autocorrect(bool);
bool fire_a_synthetic_pointer_event(FlyString const& type, DOM::Element& target, bool not_trusted);
// https://html.spec.whatwg.org/multipage/forms.html#category-label