Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite TestWebKitAPI.AutocorrectionTests.FontAtCaretWhenUsingUICTFon…
…tTextStyle to not use fontForCaretSelection. https://bugs.webkit.org/show_bug.cgi?id=266055 rdar://119344370 Reviewed by Tim Horton. After https://commits.webkit.org/271515@main TestWebKitAPI.AutocorrectionTests.FontAtCaretWhenUsingUICTFontTextStyle was failing because it used a method that no longer existed. The test needed to be re-written to use the API that now gives the font information. I also removed a duplicate line from the previous patch, no need to set the default black color twice. * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView textStylingAtPosition:inDirection:]): * Tools/TestWebKitAPI/Tests/ios/AutocorrectionTestsIOS.mm: (TEST): Canonical link: https://commits.webkit.org/271724@main
- Loading branch information