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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/attr-dir-inherit.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/attr-dir-inherit.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/attr-dir-inherit.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/attr-dir-inherit.html
index 091b7221696ec4945e5fbdecea250d4ba2f6ae96..53e51c59d73136de7c667388dd6bad00a0d8f08a 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/attr-dir-inherit.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/attr-dir-inherit.html
@@ -167,61 +167,61 @@ convertTemplatesToShadowRootsWithin(container);
// Test dir="rtl" inherits in shadow trees
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-inherits/target"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-inherits/target"));
}, "dir=rtl inherits into shadow trees");
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-distributed"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-distributed"));
}, "dir=rtl applies to the distributed content");
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-final"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-final"));
}, "dir=rtl applies to the distributed content with multiple shadow roots");
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-redistributed-multilevel"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-redistributed-multilevel"));
}, "dir=rtl applies to the distributed content (multiple levels)");
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-older/target"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-older/target"));
}, "dir=rtl applies to the content in older shadow roots");
test(function () {
- assert_direction("dir=rtl", getNodeInTreeOfTrees("dir-rtl-redistributed"));
+ assert_direction("dir=rtl", getNodeInComposedTree("dir-rtl-redistributed"));
}, "dir=rtl applies to the re-distributed content through older shadow roots");
// Test dir="auto" inherits in shadow trees
// dir="auto" calculates the directionality by the first character
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-hebrew"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-hebrew-span"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-hebrew"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-hebrew-span"));
}, "dir=auto the first character in the shadow trees");
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-distributed-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-distributed-hebrew"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-distributed-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-distributed-hebrew"));
}, "dir=auto the first character in the distributed content");
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-final-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-final-hebrew"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-final-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-final-hebrew"));
}, "dir=auto the first character in the distributed content with multiple shadow roots");
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-multilevel-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-multilevel-hebrew"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-multilevel-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-multilevel-hebrew"));
}, "dir=auto the first character in the distributed content with multiple levels of shadow roots");
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-older-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-older-hebrew"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-older-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-older-hebrew"));
}, "dir=auto the first character in the distributed content from older shadow roots");
test(function () {
- assert_direction("English text", getNodeInTreeOfTrees("dir-auto-redistributed-english"));
- assert_direction("Hebrew text", getNodeInTreeOfTrees("dir-auto-redistributed-hebrew"));
+ assert_direction("English text", getNodeInComposedTree("dir-auto-redistributed-english"));
+ assert_direction("Hebrew text", getNodeInComposedTree("dir-auto-redistributed-hebrew"));
}, "dir=auto the first character in the re-distributed content through older shadow roots");
function assert_direction(description, elementToTest) {

Powered by Google App Engine
This is Rietveld 408576698