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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.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/querySelector-with-shadow-all-and-shadow-deep.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html
index 970b538b2ebdd8df0255c0c1ed022de0f609ba55..5f732276026e56c2a6f4eccd288baee74ebc2523 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html
@@ -32,7 +32,7 @@ shouldBe('document.querySelectorAll("#foo-host /deep/ span")[4].id', '"outer-hos
shouldBe('document.querySelector("::before, #foo-host /deep/ span").id', '"not-top"');
// FIXME: after making "*" in shadow tree not to match shadow host, rebaseline.
-var fooShadowRoot = getNodeInTreeOfTrees('foo-host/');
+var fooShadowRoot = getNodeInComposedTree('foo-host/');
shouldBe('fooShadowRoot.querySelectorAll("*::shadow span").length', '1');
shouldBe('fooShadowRoot.querySelectorAll("*::shadow span")[0].id', '"nested"');
@@ -64,7 +64,7 @@ shouldBe('barHost.querySelectorAll(":host :scope span")[0].id', '"inner-host"');
shouldBe('barHost.querySelectorAll(":host /deep/ #bar-host span").length', '1');
shouldBe('barHost.querySelectorAll(":host /deep/ #bar-host span")[0].id', '"inner-host"');
-var barShadowRoot = getNodeInTreeOfTrees('foo-host/bar-host/');
+var barShadowRoot = getNodeInComposedTree('foo-host/bar-host/');
shouldBe('barShadowRoot.querySelectorAll("*::shadow span").length', '0');
shouldBe('barShadowRoot.querySelectorAll("* /deep/ span").length', '0');

Powered by Google App Engine
This is Rietveld 408576698