MattDees/traceping — pull request #1 by kaniini (2013-11-13 09:55:33+00:00)
Title: basepage: backtrack up the DOM from the first image to insert ajax results

The previous approach was to use a series of table cell offsets, which results in undefined
behaviour depending on the implementation of the DOM. Instead, search for the first
tag that is contained by a

and then backtrack upwards to the

in order to find the
proper insertion point.

Tested-on: IE 6, IE 10, Chrome, Firefox, Opera 12.
Signed-off-by: William Pitcock .