| Summary: | Support AXCoreObject::elementPath for text elements. | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andres Gonzalez <andresg_22> | ||||||||
| Component: | New Bugs | Assignee: | Andres Gonzalez <andresg_22> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=217801 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Andres Gonzalez
2020-08-05 18:39:30 PDT
Created attachment 406066 [details]
Patch
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]. |