<rdar://problem/
4010059> BoundsForTextMarkerRange does not update with scrolled web area
* kwq/KWQAccObject.mm:
(-[KWQAccObject doAXBoundsForTextMarkerRange:]):
Adjust for scrolling.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8674
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-23 David Harrison <harrison@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/4010059> BoundsForTextMarkerRange does not update with scrolled web area
+
+ * kwq/KWQAccObject.mm:
+ (-[KWQAccObject doAXBoundsForTextMarkerRange:]):
+ Adjust for scrolling.
+
2005-02-22 Maciej Stachowiak <mjs@apple.com>
Reviewed by Ken.
// convert our rectangle to screen coordinates
NSRect rect = NSMakeRect(ourrect.left(), ourrect.top(), ourrect.width(), ourrect.height());
+ rect = NSOffsetRect(rect, -[self topView]->contentsX(), -[self topView]->contentsY());
rect = [view convertRect:rect toView:nil];
rect.origin = [[view window] convertBaseToScreen:rect.origin];