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

Issue 1889053002: IntersectionObserver: notify when root or target is removed. (Closed)

Created:
4 years, 8 months ago by szager1
Modified:
4 years, 8 months ago
Reviewers:
eae, 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

IntersectionObserver: notify when root or target is removed. If root and target were previously intersecting, and then DOM is modified to remove root or target, or to make target not a containing block descendant of root, send a notification. BUG=540528 R=ojan@chromium.org,eae@chromium.org Committed: https://crrev.com/db56b7062fa9ef6f39e00746f2367139fed855b8 Cr-Commit-Position: refs/heads/master@{#387719}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -90 lines) Patch
A + third_party/WebKit/LayoutTests/intersection-observer/remove-element.html View 2 chunks +38 lines, -53 lines 0 comments Download
A + third_party/WebKit/LayoutTests/intersection-observer/remove-element-expected.txt View 1 chunk +22 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObservation.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObservation.cpp View 2 chunks +17 lines, -11 lines 3 comments Download
M third_party/WebKit/Source/core/dom/IntersectionObserver.cpp View 1 chunk +0 lines, -2 lines 1 comment Download

Messages

Total messages: 10 (2 generated)
szager1
4 years, 8 months ago (2016-04-15 05:18:15 UTC) #1
ojan
lgtm https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp File third_party/WebKit/Source/core/dom/IntersectionObservation.cpp (right): https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp#newcode152 third_party/WebKit/Source/core/dom/IntersectionObservation.cpp:152: return true; Nit: I think this code would ...
4 years, 8 months ago (2016-04-15 18:19:09 UTC) #2
szager1
https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp File third_party/WebKit/Source/core/dom/IntersectionObservation.cpp (right): https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp#newcode152 third_party/WebKit/Source/core/dom/IntersectionObservation.cpp:152: return true; On 2016/04/15 18:19:08, ojan wrote: > Nit: ...
4 years, 8 months ago (2016-04-15 19:47:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889053002/1
4 years, 8 months ago (2016-04-15 19:47:39 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-15 22:13:39 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/db56b7062fa9ef6f39e00746f2367139fed855b8 Cr-Commit-Position: refs/heads/master@{#387719}
4 years, 8 months ago (2016-04-15 22:14:51 UTC) #8
ojan
https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp File third_party/WebKit/Source/core/dom/IntersectionObservation.cpp (right): https://codereview.chromium.org/1889053002/diff/1/third_party/WebKit/Source/core/dom/IntersectionObservation.cpp#newcode152 third_party/WebKit/Source/core/dom/IntersectionObservation.cpp:152: return true; On 2016/04/15 at 19:47:23, szager1 wrote: > ...
4 years, 8 months ago (2016-04-15 22:40:52 UTC) #9
eae
4 years, 8 months ago (2016-04-17 18:14:13 UTC) #10
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698