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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/compare-treescope-position.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/compare-treescope-position.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-treescope-position.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-treescope-position.html
index da72905f979a8456ae1da2625ce080cfcf207cf1..b3f773bbd8c934d697a3dab6eee38b425ccd4802 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-treescope-position.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-treescope-position.html
@@ -31,9 +31,9 @@ function testCompareTreeScopePosition()
var sandbox = document.getElementById('sandbox');
document.body.offsetLeft;
- sr1 = getNodeInTreeOfTrees('a2/');
- sr2 = getNodeInTreeOfTrees('a3/');
- sr3 = getNodeInTreeOfTrees('a3/c2/');
+ sr1 = getNodeInComposedTree('a2/');
+ sr2 = getNodeInComposedTree('a3/');
+ sr3 = getNodeInComposedTree('a3/c2/');
shouldBe('internals.compareTreeScopePosition(document, sr1)', 'Node.DOCUMENT_POSITION_CONTAINED_BY | Node.DOCUMENT_POSITION_FOLLOWING');
shouldBe('internals.compareTreeScopePosition(sr1, document)', 'Node.DOCUMENT_POSITION_CONTAINS | Node.DOCUMENT_POSITION_PRECEDING');
@@ -50,7 +50,7 @@ function testCompareTreeScopePosition()
shouldBe('internals.compareTreeScopePosition(document, document)', '0');
shouldBe('internals.compareTreeScopePosition(sr1, sr1)', '0');
- getNodeInTreeOfTrees('a3/c1').removeChild(getNodeInTreeOfTrees('a3/c2'));
+ getNodeInComposedTree('a3/c1').removeChild(getNodeInComposedTree('a3/c2'));
shouldBeNonZero('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_PRECEDING || internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_FOLLOWING');
shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSITION_DISCONNECTED', 'Node.DOCUMENT_POSITION_DISCONNECTED');

Powered by Google App Engine
This is Rietveld 408576698