mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
LibWeb: Implement autocorrect attribute
This commit is contained in:
parent
a6fb7c84e9
commit
829437c11d
Notes:
github-actions[bot]
2025-08-29 14:48:21 +00:00
Author: https://github.com/Calme1709
Commit: 829437c11d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4907
Reviewed-by: https://github.com/Lubrsi ✅
Reviewed-by: https://github.com/ananas-dev
6 changed files with 428 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue