Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Issue 1672273002: Enforce containing block requirement for IntersectionObserver. (Closed)

Created:
4 years, 10 months ago by szager1
Modified:
4 years, 10 months ago
Reviewers:
esprehn, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/099be5c161399ca0d0304e5a187b7a93e7b948f4 Cr-Commit-Position: refs/heads/master@{#375000}

Patch Set 1 #

Patch Set 2 : Get rid of active flag #

Patch Set 3 : Add header file to patch. #

Total comments: 4

Patch Set 4 : nits #

Messages

Total messages: 17 (5 generated)
szager1
4 years, 10 months ago (2016-02-06 00:26:06 UTC) #2
szager1
ping
4 years, 10 months ago (2016-02-08 18:04:37 UTC) #3
esprehn
I'd rather we enforced the same frame requirement first, crossing iframes and doing this containing ...
4 years, 10 months ago (2016-02-08 21:36:08 UTC) #4
esprehn
This also doesn't remove all the element ancestor checking code, we should remove that in ...
4 years, 10 months ago (2016-02-08 21:36:38 UTC) #5
szager1
On 2016/02/08 21:36:08, esprehn wrote: > I'd rather we enforced the same frame requirement first, ...
4 years, 10 months ago (2016-02-09 07:17:39 UTC) #6
szager1
On 2016/02/08 21:36:38, esprehn wrote: > This also doesn't remove all the element ancestor checking ...
4 years, 10 months ago (2016-02-09 07:18:08 UTC) #7
szager1
ping
4 years, 10 months ago (2016-02-10 18:25:56 UTC) #8
esprehn
lgtm w/ nits fixed. https://codereview.chromium.org/1672273002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp File third_party/WebKit/Source/core/dom/IntersectionObservation.cpp (right): https://codereview.chromium.org/1672273002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp#newcode97 third_party/WebKit/Source/core/dom/IntersectionObservation.cpp:97: return (descendantFrame && descendantFrame->tree().top() == ...
4 years, 10 months ago (2016-02-11 06:15:23 UTC) #9
szager1
https://codereview.chromium.org/1672273002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp File third_party/WebKit/Source/core/dom/IntersectionObservation.cpp (right): https://codereview.chromium.org/1672273002/diff/40001/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp#newcode97 third_party/WebKit/Source/core/dom/IntersectionObservation.cpp:97: return (descendantFrame && descendantFrame->tree().top() == ancestorFrame); On 2016/02/11 06:15:23, ...
4 years, 10 months ago (2016-02-11 18:17:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1672273002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1672273002/60001
4 years, 10 months ago (2016-02-11 18:17:51 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-11 21:37:05 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:38:24 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/099be5c161399ca0d0304e5a187b7a93e7b948f4
Cr-Commit-Position: refs/heads/master@{#375000}

Powered by Google App Engine
This is Rietveld 408576698