Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4e1a0a1d21d980825fa8ec85eb6c2806070081c8
https://github.com/WebKit/WebKit/commit/4e1a0a1d21d980825fa8ec85eb6c2806070081c8
Author: Wenson Hsieh <[email protected]>
Date: 2025-12-20 (Sat, 20 Dec 2025)
Changed paths:
M
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt
M LayoutTests/fast/text-extraction/debug-text-extraction-form-controls.html
M Source/WebCore/page/text-extraction/TextExtraction.cpp
M Source/WebCore/page/text-extraction/TextExtractionTypes.h
M Source/WebKit/Shared/TextExtractionToStringConversion.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
[AutoFill Debugging] Include tooltips (title DOM attribute) in text
extraction output
https://bugs.webkit.org/show_bug.cgi?id=304553
rdar://166950912
Reviewed by Richard Robinson.
Include the `title` DOM attribute during text extraction, and surface it through
`-_debugTextWithConfiguration` output (if non-empty).
*
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt:
* LayoutTests/fast/text-extraction/debug-text-extraction-form-controls.html:
Adjust an existing layout test to exercise this.
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::extractRecursive):
(WebCore::TextExtraction::pruneEmptyContainersRecursive):
(WebCore::TextExtraction::extractItem):
* Source/WebCore/page/text-extraction/TextExtractionTypes.h:
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
(WebKit::partsForItem):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/304832@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications