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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.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/shadow-dom-mouse-event-adjust-offset.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html
index 484dddcb5fbc931687c56e5e1fce4f5c7a04bc92..5459927850e89068e0cc1b8388bf8eabd0e7542d 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html
@@ -37,7 +37,7 @@ function recordEvent(event)
function addEventListeners(nodes)
{
for (var i = 0; i < nodes.length; ++i) {
- var node = getNodeInTreeOfTrees(nodes[i]);
+ var node = getNodeInComposedTree(nodes[i]);
node.addEventListener('mouseover', recordEvent, false);
}
}
@@ -54,7 +54,7 @@ function testMouseEventOffset()
createDOM('div', {'id': 'target', 'style': 'padding-top: 10px; width: 80px'}))))));
addEventListeners(['top', 'shadow-host', 'shadow-host/parent']);
sandbox.offsetLeft;
- moveMouseOver(getNodeInTreeOfTrees('shadow-host/target'));
+ moveMouseOver(getNodeInComposedTree('shadow-host/target'));
shouldBe("eventRecords['parent']['offsetY']", "5");
shouldBe("eventRecords['shadow-host']['offsetY']", "5 + 20");

Powered by Google App Engine
This is Rietveld 408576698