The position in QWebHitTestResult is documented as 'the position where the hit-test occured', but the point from HitTestResult that we use to initialize this value with is the point in inner most hit frame, and not the original hit-test point.
Created attachment 175396 [details] Patch
Comment on attachment 175396 [details] Patch How does this work, if I do a QWebFrame::hitTestContent on a sub-frame, what position will QWebHitTestResult::pos return me?
(In reply to comment #2) > (From update of attachment 175396 [details]) > How does this work, if I do a QWebFrame::hitTestContent on a sub-frame, what position will QWebHitTestResult::pos return me? Hit-testing a sub-frame will automatically be escalated to hit test in the main-frame. So essentially you can't.
Created attachment 175456 [details] Patch Do not change behaviour, change documentation
Comment on attachment 175456 [details] Patch Clearing flags on attachment: 175456 Committed r135449: <http://trac.webkit.org/changeset/135449>
All reviewed patches have been landed. Closing bug.