[webkit-changes] [WebKit/WebKit] 28a8a4: Correct autocorrect attribute (empty value, email/...

Anne van Kesteren noreply at github.com
Tue Aug 27 08:46:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 28a8a4b35f3332e595d58745699986a271dcd941
      https://github.com/WebKit/WebKit/commit/28a8a4b35f3332e595d58745699986a271dcd941
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection.html
    A LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/w3c-import.log
    A LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection-expected.txt
    M Source/WebCore/html/HTMLFormControlElement.cpp

  Log Message:
  -----------
  Correct autocorrect attribute (empty value, email/password/url inputs)
https://bugs.webkit.org/show_bug.cgi?id=246344
rdar://101036922

Reviewed by Wenson Hsieh.

Align with the standardized version of the autocorrect attribute, which
does not support Email, URL, and Password fields and does not treat the
empty string value in a special way. For details see
https://github.com/whatwg/html/pull/5841

Test is upstreamed at
https://github.com/web-platform-tests/wpt/commit/2767f5f395242e24ed3d7c29eed464c99b06514e

* LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/w3c-import.log: Added.
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/editing/editing-0/autocorrection/autocorrection-expected.txt: Added.
* Source/WebCore/html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::shouldAutocorrect const):

Canonical link: https://commits.webkit.org/282792@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list