[Webkit-unassigned] [Bug 219013] New: IntersectionObserver with root:document computes subframe intersection incorrectly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 16 16:46:50 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219013
Bug ID: 219013
Summary: IntersectionObserver with root:document computes
subframe intersection incorrectly
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dvoytenko at google.com
(1) Open https://output.jsbin.com/somucum/quiet
(2) Wait for all observations to be reported
This example creates an IntersectionObserver with `{root: top.document}` and observes a target within a same-origin subframe.
It's expected that such an IntersectionObserver would return observations similar to an intersection observer configured with `{root: null}`. However, as the repro case shows, it currently returns a non-intersecting observation (`intersectionRatio === 0`).
--
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/20201117/7ffd11bb/attachment.htm>
More information about the webkit-unassigned
mailing list