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. |