RESOLVED FIXED 246344
Correct autocorrect
https://bugs.webkit.org/show_bug.cgi?id=246344
Summary Correct autocorrect
Anne van Kesteren
Reported 2022-10-11 09:38:50 PDT
For password/URL/email controls we do the wrong thing per https://github.com/web-platform-tests/wpt/pull/25073 and our proposed specification at https://github.com/whatwg/html/pull/5841. Might want to wait with fixing this until the specification PR has landed.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-11 09:39:08 PDT
Anne van Kesteren
Comment 2 2024-08-16 05:13:57 PDT
Per recent specification discussion we'll also have to change isEmpty() to isNull() here: bool HTMLFormControlElement::shouldAutocorrect() const { const AtomString& autocorrectValue = attributeWithoutSynchronization(autocorrectAttr); if (!autocorrectValue.isEmpty()) return !equalLettersIgnoringASCIICase(autocorrectValue, "off"_s); if (RefPtr<HTMLFormElement> form = this->form()) return form->shouldAutocorrect(); return true; } This causes an additional failure in the tests.
Anne van Kesteren
Comment 3 2024-08-19 09:06:12 PDT
EWS
Comment 4 2024-08-27 08:46:24 PDT
Committed 282792@main (28a8a4b35f33): <https://commits.webkit.org/282792@main> Reviewed commits have been landed. Closing PR #32388 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.