[Webkit-unassigned] [Bug 260695] New: Simplify Quirks for shouldSuppressAutocorrectionAndAutocapitalizationInHiddenEditableAreas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 24 21:53:06 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260695

            Bug ID: 260695
           Summary: Simplify Quirks for
                    shouldSuppressAutocorrectionAndAutocapitalizationInHid
                    denEditableAreas
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230825/c862a444/attachment.htm>


More information about the webkit-unassigned mailing list