-
Botond Ballo authored
Bug 1631568 - Have nsLayoutUtils::GetFrameForPoint() and GetFramesForArea() take a RelativeTo parameter. r=tnikkel This removes the need for FrameForPointOptions::IsRelativeToLayoutViewport, and makes sure each call site of these functions indicates whether the input point/rect is in visual or layout coordinates. Several call sites were passing in layout coordinates without setting the IsRelativeToLayoutViewport flag, which this patch corrects. Differential Revision: https://phabricator.services.mozilla.com/D71705
5cffd062