Open Bug 1825172 Opened 2 years ago

Consider whether TextLeafPoint::FindBoundary should return an invalid point when it can't move any further

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

People

(Reporter: Jamie, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, FindBoundary returns the start or end of the document (depending on the search direction) if no boundary is found. While this is intended behaviour, it can result in infinite loops in calling code; e.g. bug 1825054. It might be more "obvious" for an invalid point to be returned instead.

This would require changes to HyperTextAccessibleBase and Mac text code.

You need to log in before you can comment on or make changes to this bug.