This method uses MapVisualRectInAncestorSpace() with LayoutView as the ancestor. However, comments on that say "Overflow clipping, CSS clipping and scrolling is *not* applied for |ancestor| itself if |ancestor| scrolls overflow.". This means AbsoluteVisualRect isn't actually returning absolute coordinates, but content/document coordinates. It's correct when RLS is off because absolute==content but when it's turned on absolute means frame coordinates.
This bug is to track auditing call sites, fixing the method name and comments.
Comment 1 by bokan@chromium.org
, Jan 25 2018