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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/distributed-node-focus.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/distributed-node-focus.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/distributed-node-focus.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/distributed-node-focus.html
index aa00346864a77c30d3973f5976a89940ed1d97dd..ed04f0f67b1565c3df3116cce7c3368d738e6024 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/distributed-node-focus.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/distributed-node-focus.html
@@ -25,7 +25,7 @@ document.getElementById('non-distributed-node').focus();
// Focus doesn't change because non-distributed-node can't get focused.
shouldBeEqualToString('document.activeElement.id', 'input1');
-var shadowRoot = getNodeInTreeOfTrees('host/');
+var shadowRoot = getNodeInComposedTree('host/');
shouldBeNull('shadowRoot.activeElement');
@@ -43,10 +43,10 @@ var distributedNode = document.getElementById('distributed-node');
distributedNode.focus();
shouldBeEqualToString('document.activeElement.id', 'distributed-node');
-shadowRoot = getNodeInTreeOfTrees("host/");
+shadowRoot = getNodeInComposedTree("host/");
shouldBeEqualToString('shadowRoot.activeElement.id', 'distributed-node');
-var contentParent = getNodeInTreeOfTrees('host/content-parent');
+var contentParent = getNodeInComposedTree('host/content-parent');
contentParent.parentNode.removeChild(contentParent);
// This is a similar case where 'dispaly: none' is set to the focused element. We can't guarantee this case.
// The current implementation leaves the distributed node as document.activeElement.

Powered by Google App Engine
This is Rietveld 408576698