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

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

Issue 1684533002: Rename "tree of trees" to "composed tree". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html
index 5ca9dc4e1d219f1f2152c1d78afde335e9524032..ea0c7d7acc74e84db41c4f8ff41b7bd242527253 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots-2.html
@@ -14,7 +14,7 @@ function click(path) {
debug('click #' + path);
var clickEvent = document.createEvent("MouseEvents");
clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
- getNodeInTreeOfTrees(path).dispatchEvent(clickEvent);
+ getNodeInComposedTree(path).dispatchEvent(clickEvent);
}
sandbox.appendChild(
@@ -30,7 +30,7 @@ sandbox.appendChild(
createDOM('div', {'id': 'G'}))));
['A', 'B', 'A/', 'A/E', 'A//', 'A//H', 'A//I', 'A///', 'A///F', 'A///G'].forEach(function(path) {
- getNodeInTreeOfTrees(path).addEventListener('click', function(event) {
+ getNodeInComposedTree(path).addEventListener('click', function(event) {
debug('\nevent.path on node ' + dumpNode(event.currentTarget) + ' (target: ' + dumpNode(event.target) + ')');
debug(dumpNodeList(event.path));
});

Powered by Google App Engine
This is Rietveld 408576698