commit | 099be5c161399ca0d0304e5a187b7a93e7b948f4 | [log] [tgz] |
---|---|---|
author | szager <szager@chromium.org> | Thu Feb 11 21:36:54 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 11 21:37:55 2016 |
tree | c7c1745afb81a57fd1656d12b038d1ac76b82cdc | |
parent | d77373d2aea7656fff32833c1112997f2eddcfb4 [diff] |
Enforce containing block requirement for IntersectionObserver. Context: https://github.com/WICG/IntersectionObserver/issues/84 Only generate notifications if the target Element is a descendant of the root in the containing block chain. Also consolidated all of the sanity-checking code into computeGeometry(). BUG=540528 R=ojan@chromium.org,esprehn@chromium.org Review URL: https://codereview.chromium.org/1672273002 Cr-Commit-Position: refs/heads/master@{#375000}