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

Unified Diff: LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html

Issue 137993003: Revert the feature of the <shadow> element as 'a function call' to the previous behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update LayoutTests/TestExpectations Created 6 years, 11 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
Index: LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
diff --git a/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html b/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
index 2b62a24f9eddb0b4f1437a6c940a862070d45292..6a6a83890ebedb5cf5625c36b71076ec0adcfd2f 100644
--- a/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
+++ b/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
@@ -20,10 +20,9 @@ sandbox.appendChild(
createDOM('content', {'id': 'F'}))),
createShadowRoot({'id': 'G'},
createDOM('div', {'id': 'H'},
- createDOM('shadow', {'id': 'I'},
- createDOM('content', {'id': 'J'}))))));
+ createDOM('shadow', {'id': 'I'})))));
-['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I', 'A//J'].forEach(function(path) {
+['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I'].forEach(function(path) {
getNodeInTreeOfTrees(path).addEventListener('click', function(event) {
debug('\nevent.path on node ' + dumpNode(event.currentTarget));
debug(dumpNodeList(event.path));

Powered by Google App Engine
This is Rietveld 408576698