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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html

Issue 210753002: Remove EventPath::parent() in favor of NodeRenderingTraversal::parent(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
index 72968158b7c85721097cf329bb6166b2bb594f70..ddc72d7d0d5520f9fb0af578f22251a625a32e99 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
@@ -12,14 +12,15 @@
<script>
var sandbox = document.getElementById('sandbox');
- // Makes sure an insertion point can receive a event when a distributed text node is clicked.
+ // Makes sure the parent of the insertion point can receive an event when a distributed text node is clicked.
sandbox.appendChild(
createDOM('div', {'id': 'top'},
createDOM('div', {'id': 'shadow-host'},
createShadowRoot({'id': 'shadow-root'},
- createDOM('content', {'id': 'content'})),
+ createDOM('div', {'id': 'content-parent'},
+ createDOM('content', {'id': 'content'}))),
document.createTextNode('Text Node'))));
- addEventListeners(['top', 'shadow-host', 'shadow-host/', 'shadow-host/content']);
+ addEventListeners(['top', 'shadow-host', 'shadow-host/', 'shadow-host/content-parent', 'shadow-host/content']);
showSandboxTree();
// Calculates the position of the text node.
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698