Chromium Code Reviews
DescriptionElementVisibilityObserver: use ExecutionContext's document.
The IntersectionObserver code assumes that the document passed as root
always has a frame but an Element's owner document might not. Using the
ExecutionContext's document in ElementVisibilityObserver solves issues
by making the internal API behaviour closer to the external one.
BUG=654082
Committed: https://crrev.com/a6916ff2267d97e2e0db212348d4229097d37064
Cr-Commit-Position: refs/heads/master@{#425099}
Patch Set 1 #
Total comments: 2
Patch Set 2 : review comments #
Messages
Total messages: 20 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||