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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.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/css-focus-pseudo-match-shadow-host5.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html
index 23194e384617d75cd3f8334ee35b16f05dc4b897..227a09dd3ea3b33b789e1f3915b22123019471cb 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/css-focus-pseudo-match-shadow-host5.html
@@ -44,10 +44,10 @@ function testNestedDistribution() {
backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)');
- var outerInput = getNodeInTreeOfTrees('outer-input');
- var input1 = getNodeInTreeOfTrees('input1');
- var input2 = getNodeInTreeOfTrees('shadow-host/input2');
- var input3 = getNodeInTreeOfTrees('shadow-host/inner-shadow-host/input3');
+ var outerInput = getNodeInComposedTree('outer-input');
+ var input1 = getNodeInComposedTree('input1');
+ var input2 = getNodeInComposedTree('shadow-host/input2');
+ var input3 = getNodeInComposedTree('shadow-host/inner-shadow-host/input3');
debug('#input1, #input2 are (re)distributed in the same treescope as #input3, but :focus on shadow host only matches when a focused element is under its shadow tree.');
@@ -71,10 +71,10 @@ function testNestedDistribution() {
debug('(2/4) top shadow delegates, but inner shadow does not.');
buildNestedDistributionTree(true, false);
- var outerInput = getNodeInTreeOfTrees('outer-input');
- var input1 = getNodeInTreeOfTrees('input1');
- var input2 = getNodeInTreeOfTrees('shadow-host/input2');
- var input3 = getNodeInTreeOfTrees('shadow-host/inner-shadow-host/input3');
+ var outerInput = getNodeInComposedTree('outer-input');
+ var input1 = getNodeInComposedTree('input1');
+ var input2 = getNodeInComposedTree('shadow-host/input2');
+ var input3 = getNodeInComposedTree('shadow-host/inner-shadow-host/input3');
outerInput.focus();
backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)');
@@ -95,10 +95,10 @@ function testNestedDistribution() {
debug('(3/4) top shadow does not delegate, but inner shadow does.');
buildNestedDistributionTree(false, true);
- var outerInput = getNodeInTreeOfTrees('outer-input');
- var input1 = getNodeInTreeOfTrees('input1');
- var input2 = getNodeInTreeOfTrees('shadow-host/input2');
- var input3 = getNodeInTreeOfTrees('shadow-host/inner-shadow-host/input3');
+ var outerInput = getNodeInComposedTree('outer-input');
+ var input1 = getNodeInComposedTree('input1');
+ var input2 = getNodeInComposedTree('shadow-host/input2');
+ var input3 = getNodeInComposedTree('shadow-host/inner-shadow-host/input3');
outerInput.focus();
backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)');
@@ -119,10 +119,10 @@ function testNestedDistribution() {
debug('(4/4) both shadow hosts delagate focus.');
buildNestedDistributionTree(true, true);
- var outerInput = getNodeInTreeOfTrees('outer-input');
- var input1 = getNodeInTreeOfTrees('input1');
- var input2 = getNodeInTreeOfTrees('shadow-host/input2');
- var input3 = getNodeInTreeOfTrees('shadow-host/inner-shadow-host/input3');
+ var outerInput = getNodeInComposedTree('outer-input');
+ var input1 = getNodeInComposedTree('input1');
+ var input2 = getNodeInComposedTree('shadow-host/input2');
+ var input3 = getNodeInComposedTree('shadow-host/inner-shadow-host/input3');
outerInput.focus();
backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)');

Powered by Google App Engine
This is Rietveld 408576698