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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/sibling-rules-under-shadow-root.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/sibling-rules-under-shadow-root.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/sibling-rules-under-shadow-root.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/sibling-rules-under-shadow-root.html
index c82ba54b9ee30d1c82597e7965bfc9711d7e2b1a..495586abefd4df80e045920f185474a6a47c5b25 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/sibling-rules-under-shadow-root.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/sibling-rules-under-shadow-root.html
@@ -18,13 +18,13 @@ function colorOf(node)
function colorShouldBe(selector, color)
{
- var text = 'colorOf(getNodeInTreeOfTrees("' + selector + '"))';
+ var text = 'colorOf(getNodeInComposedTree("' + selector + '"))';
shouldBeEqualToString(text, color);
}
function colorShouldNotBe(selector, color)
{
- var text = 'colorOf(getNodeInTreeOfTrees("' + selector + '"))';
+ var text = 'colorOf(getNodeInComposedTree("' + selector + '"))';
var unevaledString = '"' + color.replace(/\\/g, "\\\\").replace(/"/g, "\"") + '"';
shouldNotBe(text, unevaledString);
}
@@ -46,7 +46,7 @@ sandbox.appendChild(
createDOM('div', {'id': 'child2'},
document.createTextNode('second div')))));
document.body.offsetLeft;
-getNodeInTreeOfTrees('host/child1').className = 'target';
+getNodeInComposedTree('host/child1').className = 'target';
colorShouldBe('host/child2', 'rgb(0, 128, 0)');
cleanUp();
@@ -63,7 +63,7 @@ sandbox.appendChild(
createDOM('div', {'id': 'child3'},
document.createTextNode('third div')))));
document.body.offsetLeft;
-getNodeInTreeOfTrees('host/child1').className = 'target';
+getNodeInComposedTree('host/child1').className = 'target';
colorShouldBe('host/child2', 'rgb(0, 128, 0)');
colorShouldBe('host/child3', 'rgb(0, 128, 0)');

Powered by Google App Engine
This is Rietveld 408576698