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

Unified Diff: LayoutTests/fast/dom/shadow/event-path-shadow-insertion-point-in-oldest-shadow-root.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-shadow-insertion-point-in-oldest-shadow-root.html
diff --git a/LayoutTests/fast/dom/shadow/event-path-shadow-insertion-point-in-oldest-shadow-root.html b/LayoutTests/fast/dom/shadow/event-path-shadow-insertion-point-in-oldest-shadow-root.html
index f59cd60973ecd41c13fc8fb093074ea1cd30f7e1..9c0bc5f19beb65a17d91751f6c7103b171e5ca21 100644
--- a/LayoutTests/fast/dom/shadow/event-path-shadow-insertion-point-in-oldest-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/event-path-shadow-insertion-point-in-oldest-shadow-root.html
@@ -17,14 +17,12 @@ sandbox.appendChild(
createDOM('div', {'id': 'C'})),
createShadowRoot({'id': 'D'},
createDOM('div', {'id': 'E'},
- createDOM('shadow', {'id': 'X'},
- createDOM('content', {'id': 'F'})))),
+ createDOM('shadow', {'id': 'X'}))),
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/X', 'A//', 'A//H', 'A//I', 'A//J'].forEach(function(path) {
+['A', 'B', 'C', 'A/', 'A/E', 'A/X', '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