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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.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/events-stopped-at-shadow-boundary.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
index 3310e6325102ce5f1387e77a56ae9fdd0b0a1fa4..19e01eda823a38dfcb0365cc75cc0ac195625eef 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
@@ -56,7 +56,7 @@ var events = ['abort', 'select', 'change', 'reset', 'resize', 'scroll', 'selects
function addEventListeners(nodes)
{
for (var i = 0; i < nodes.length; ++i) {
- var node = getNodeInTreeOfTrees(nodes[i]);
+ var node = getNodeInComposedTree(nodes[i]);
for (var j = 0; j < events.length; ++j)
node.addEventListener(events[j], recordEvent, false);
}
@@ -83,7 +83,7 @@ function testEventsShouldNotBeStoppedAtShadowBoundary()
eventRecords = {};
var event = document.createEvent('UIEvent');
event.initEvent(events[i], true, false);
- getNodeInTreeOfTrees('host/target').dispatchEvent(event);
+ getNodeInComposedTree('host/target').dispatchEvent(event);
dumpDispatchedEvent(events[i]);
}
@@ -109,7 +109,7 @@ function testEventsFiredOnDistributedNodesShouldNotBeStoppedAtShadowBoundary()
eventRecords = {};
var event = document.createEvent('UIEvent');
event.initEvent('selectstart', true, false);
- getNodeInTreeOfTrees('host1/distributed-child').dispatchEvent(event);
+ getNodeInComposedTree('host1/distributed-child').dispatchEvent(event);
dumpDispatchedEvent('selectstart');
}
@@ -132,7 +132,7 @@ function testEventsInMultipleShadowTrees()
eventRecords = {};
var event = document.createEvent('UIEvent');
event.initEvent('selectstart', true, false);
- getNodeInTreeOfTrees('shadow-host/target').dispatchEvent(event);
+ getNodeInComposedTree('shadow-host/target').dispatchEvent(event);
dumpDispatchedEvent('selectstart');
}

Powered by Google App Engine
This is Rietveld 408576698