Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f04a418fdc04a1b2cb0466eca40e865fe64efd10
https://github.com/WebKit/WebKit/commit/f04a418fdc04a1b2cb0466eca40e865fe64efd10
Author: Wenson Hsieh <[email protected]>
Date: 2026-05-30 (Sat, 30 May 2026)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/_WKTextExtraction.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm
Log Message:
-----------
[AutoFill Debugging] Skip `opacity: 0;` (or nearly-transparent) content by
default
https://bugs.webkit.org/show_bug.cgi?id=315931
rdar://178338021
Reviewed by Abrar Rahman Protyasha.
Skip fully or nearly-transparent containers by default when extracting text via
the
`-_requestTextExtraction:` family of APIs.
* Source/WebKit/UIProcess/API/Cocoa/_WKTextExtraction.mm:
(-[_WKTextExtractionConfiguration init]):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm:
(TestWebKitAPI::TEST(TextExtractionTests,
SkipNearlyTransparentContentByDefault)):
Canonical link: https://commits.webkit.org/314223@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications