Closed jgraham closed 8 months ago
The spec is supposed to normalise everything to document coordinates for computing intersections. However element bounding boxes turn out to be in viewport coordinates, so we need to uncinditionally convert these before using them.
Preview | Diff
FYI @lutien will take care of the tests over on https://bugzilla.mozilla.org/show_bug.cgi?id=1840999.
The spec is supposed to normalise everything to document coordinates for computing intersections. However element bounding boxes turn out to be in viewport coordinates, so we need to uncinditionally convert these before using them.
Preview | Diff