Support AXCoreObject::elementPath for text elements.
Created attachment 406066 [details] Patch
<rdar://problem/66950893>
Created attachment 411192 [details] Patch
Comment on attachment 411192 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411192&action=review > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:913 > + && unionRect.x() - rects[i].x() > xTolerance) { will this work for RTL languages too? > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:914 > + // rect is in a new line and to the left of previous rects can you make this comment a full sentence
Created attachment 411324 [details] Patch
(In reply to chris fleizach from comment #4) > Comment on attachment 411192 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=411192&action=review > > > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:913 > > + && unionRect.x() - rects[i].x() > xTolerance) { > > will this work for RTL languages too? Fixed, checking for rtl text and adjusting check. > > > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:914 > > + // rect is in a new line and to the left of previous rects > > can you make this comment a full sentence Fixed.
Comment on attachment 411324 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411324&action=review > Source/WebCore/accessibility/AccessibilityRenderObject.cpp:913 > + for (size_t i = 1; i < rects.size(); ++i) { can you cache rects.size() outside of the loop
Committed r268494: <https://trac.webkit.org/changeset/268494> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411324 [details].