It only works when the passed TextMarkers are ordered, i.e., start < end.
<rdar://problem/109914853>
<rdar://problem/109815930>
<rdar://problem/109914891>
Created attachment 466512 [details] Patch
rdar://problem/109815930
Created attachment 466535 [details] Patch
Created attachment 466536 [details] Patch
Comment on attachment 466536 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=466536&action=review > Source/WebCore/accessibility/AXTextMarker.cpp:290 > + auto startBoundaryPoint = marker1.boundaryPoint(); are these pointers? should they be auto*
(In reply to chris fleizach from comment #8) > Comment on attachment 466536 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=466536&action=review > > > Source/WebCore/accessibility/AXTextMarker.cpp:290 > > + auto startBoundaryPoint = marker1.boundaryPoint(); > > are these pointers? should they be auto* No, std::optional.
Committed 264742@main (b37f820dae2a): <https://commits.webkit.org/264742@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 466536 [details].