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

Issue 1606153002: Implement v1 slot logic in EventPath (Closed)

Created:
4 years, 11 months ago by yuzuchan
Modified:
4 years, 11 months ago
Reviewers:
hayato, kojii, kochi
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement v1 slot logic in EventPath This CL makes sure that when an event happens on an element which is assigned to a slot, the event path goes to the slot after the element and goes up the v1 tree. Described here in spec. http://w3c.github.io/webcomponents/spec/shadow/#event-paths BUG=531990 Committed: https://crrev.com/b457ca4d9a86e52c11d906b56f55bdf4c6f1136f Cr-Commit-Position: refs/heads/master@{#370648}

Patch Set 1 #

Patch Set 2 : Remove an unintended change #

Patch Set 3 : Remove an unintended change #

Patch Set 4 : Remove an unintended change #

Total comments: 16

Patch Set 5 : Add a test case in layout test #

Total comments: 7

Patch Set 6 : Add done() in each test case #

Patch Set 7 : Modify the layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html View 1 2 3 4 5 6 1 chunk +84 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventPath.cpp View 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
yuzuchan
4 years, 11 months ago (2016-01-20 08:40:57 UTC) #3
kochi
https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode6 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:6: <img id="img" src="../../images/resources/test-load.jpg" slot='slot-1'> nit: please use single quote ...
4 years, 11 months ago (2016-01-20 09:22:08 UTC) #4
kochi
https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode38 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:38: expected_array = [img, slot, shadowRoot, host, document.body, document.documentElement, document]; ...
4 years, 11 months ago (2016-01-20 09:39:05 UTC) #5
yuzuchan
https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/50001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode6 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:6: <img id="img" src="../../images/resources/test-load.jpg" slot='slot-1'> On 2016/01/20 09:22:07, kochi wrote: ...
4 years, 11 months ago (2016-01-20 11:07:50 UTC) #6
kochi
https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode36 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:36: var host1 = document.getElementById('host1'); nit: if an element with ...
4 years, 11 months ago (2016-01-21 01:26:33 UTC) #7
kochi
https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode47 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:47: test(function() { On 2016/01/21 01:26:33, kochi wrote: > If ...
4 years, 11 months ago (2016-01-21 04:55:47 UTC) #8
yuzuchan
https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode36 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:36: var host1 = document.getElementById('host1'); On 2016/01/21 01:26:33, kochi wrote: ...
4 years, 11 months ago (2016-01-21 05:10:22 UTC) #9
kochi
https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode47 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:47: test(function() { On 2016/01/21 05:10:22, yuzuchan wrote: > Thanks ...
4 years, 11 months ago (2016-01-21 05:22:58 UTC) #10
yuzuchan
https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html (right): https://codereview.chromium.org/1606153002/diff/70001/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html#newcode47 third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-with-slot.html:47: test(function() { On 2016/01/21 05:22:58, kochi wrote: > On ...
4 years, 11 months ago (2016-01-21 07:18:12 UTC) #11
kochi
lgtm Hayato-san, could you OWENERS review this?
4 years, 11 months ago (2016-01-21 07:24:16 UTC) #12
hayato
lgtm We might want to add more tests, e.g. a slot is assigned to another ...
4 years, 11 months ago (2016-01-21 07:42:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606153002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606153002/110001
4 years, 11 months ago (2016-01-21 07:44:27 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:110001)
4 years, 11 months ago (2016-01-21 07:49:05 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 07:49:50 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b457ca4d9a86e52c11d906b56f55bdf4c6f1136f
Cr-Commit-Position: refs/heads/master@{#370648}

Powered by Google App Engine
This is Rietveld 408576698