[Webkit-unassigned] [Bug 243573] IntersectionObserver intersectionRatio < 1 observed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 18 10:30:54 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243573
--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
(lldb) fr va intersectionState
(WebCore::IntersectionObservationState) intersectionState = {
absoluteTargetRect = { x = 222.59375, y = 0.0, width = 958.4375, height = 167.8125 }
absoluteRootBounds = { x = 0.0, y = 0.0, width = 1389.0, height = 898.0 }
absoluteIntersectionRect = { x = 223.0, y = 0.0, width = 958.0, height = 168.0 }
isIntersecting = true
}
Note the x position of absoluteTargetRect and absoluteIntersectionRect are slightly different.
It's getting converted to an integral rect via:
LayoutRect rectInFrameViewSpace(renderer->view().frameView().contentsToView(snappedIntRect(*rectInFrameAbsoluteSpace)));
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220818/22c89ea3/attachment.htm>
More information about the webkit-unassigned
mailing list