This is a testcase for rdar://problem/4402375 "REGRESSION (417.8-TOT): finding text sometimes also selects previous image (5127) (6451)"

This test uses a right aligned image next to some left aligned text. The image should not be selected, and should not be included in the selection rect (you won't see the selection rect when you run this test manually).

This text should be selected.