mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Implement the autocapitalize attribute
This commit is contained in:
parent
11457e533a
commit
a6fb7c84e9
Notes:
github-actions[bot]
2025-08-29 14:48:31 +00:00
Author: https://github.com/Calme1709
Commit: a6fb7c84e9
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 808 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue