[Webkit-unassigned] [Bug 261056] AX: Expose accessibility attributes for inline text predictions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 1 22:14:27 PDT 2023


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

--- Comment #5 from chris fleizach <cfleizach at apple.com> ---
Comment on attachment 467522
  --> https://bugs.webkit.org/attachment.cgi?id=467522
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=467522&action=review

> Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:217
> +    std::pair<String, unsigned> lastPresentedCompleteWord = editor.lastPresentedTextPredictionComplete();

auto lastPresentedCompleteWord

> Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:227
> +    if (&node != editor.compositionNode())

we should check this at the top so we don't do this other work first

> Source/WebCore/accessibility/ios/AccessibilityObjectIOS.mm:230
> +    std::pair<String, unsigned> lastPresentedTextPrediction = editor.lastPresentedTextPrediction();

auto

-- 
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/20230902/bdb32d2e/attachment.htm>


More information about the webkit-unassigned mailing list