RESOLVED FIXED 260695
Simplify Quirks for shouldSuppressAutocorrectionAndAutocapitalizationInHiddenEditableAreas
https://bugs.webkit.org/show_bug.cgi?id=260695
Summary Simplify Quirks for shouldSuppressAutocorrectionAndAutocapitalizationInHidden...
Karl Dubost
Reported 2023-08-24 21:53:06 PDT
Currently // rdar://49864669 bool Quirks::shouldSuppressAutocorrectionAndAutocapitalizationInHiddenEditableAreas() const { if (!needsQuirks()) return false; return shouldSuppressAutocorrectionAndAutocapitalizationInHiddenEditableAreasForHost(m_document->topDocument().url().host()); } is calling // docs.google.com rdar://49864669 static bool shouldSuppressAutocorrectionAndAutocapitalizationInHiddenEditableAreasForHost(StringView host) { #if PLATFORM(IOS_FAMILY) return equalLettersIgnoringASCIICase(host, "docs.google.com"_s); #else UNUSED_PARAM(host); return false; #endif } Probably this should be only one function.
Attachments
Karl Dubost
Comment 1 2023-08-24 22:17:51 PDT
EWS
Comment 2 2023-08-25 11:30:25 PDT
Committed 267288@main (2ec1a7e6b1ca): <https://commits.webkit.org/267288@main> Reviewed commits have been landed. Closing PR #17053 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.