RESOLVED FIXED 188276
AX: [iOS] add support to return the attributed string under the element
https://bugs.webkit.org/show_bug.cgi?id=188276
Summary AX: [iOS] add support to return the attributed string under the element
Nan Wang
Reported 2018-08-02 14:07:27 PDT
Currently we only have attributedStringForRange:(NSRange)range, and it's using the top document and TextIterator to figure out the right start/end point. For the case where we want to get the attributed string under some element, we shouldn't do such redundant work to walk from the beginning of the document to figure out the right range.
Attachments
patch (17.12 KB, patch)
2018-08-02 14:20 PDT, Nan Wang
cfleizach: review+
Radar WebKit Bug Importer
Comment 1 2018-08-02 14:07:42 PDT
Nan Wang
Comment 2 2018-08-02 14:20:41 PDT
chris fleizach
Comment 3 2018-08-02 16:41:58 PDT
Comment on attachment 346416 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=346416&action=review > Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:2530 > + white space
Nan Wang
Comment 4 2018-08-02 16:54:47 PDT
Note You need to log in before you can comment on or make changes to this bug.