This bug is just to track a simple -yet needed- change in AccessibilityObjectWrapperAtk.cpp: replace usage of firstPositionInNode() with firstPositionInOrBeforeNode(), as well as lastPositionInNode() with lastPositionInOrAfterNode().
This is needed to ensure that the function getSelectionOffsetsForObject() works well both when non editable nodes can be present in the selection, since firstPositionInNode() and lastPositionInNode() don't work in those cases (they assume the node is editable).
Created attachment 89364 [details]
Attached patch proposal. Both API and Layout tests keep passing.
Comment on attachment 89364 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=89364&action=review
> + Use firstPositionInOrBeforeNode() and lastPositionInOrAfterNode().
Why not put the second paragraph of the bug description here? It will be useful for people looks through Trac or git.
Committed r83747: <http://trac.webkit.org/changeset/83747>