LibWeb: Implement the autocapitalize attribute

This commit is contained in:
Callum Law 2025-05-26 16:31:43 +12:00 committed by Luke Wilde
parent 11457e533a
commit a6fb7c84e9
Notes: github-actions[bot] 2025-08-29 14:48:31 +00:00
6 changed files with 808 additions and 1 deletions

View file

@ -123,6 +123,18 @@ public:
String writing_suggestions() const;
void set_writing_suggestions(String const&);
enum class AutocapitalizationHint {
Default,
None,
Sentences,
Words,
Characters
};
AutocapitalizationHint own_autocapitalization_hint() const;
String autocapitalize() const;
void set_autocapitalize(String const&);
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