| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/compare-document-position.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-document-position.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-document-position.html
|
| index ea7e52aeeaac5f7a48b05b096824076d3ef1dc88..3bd8b3dfa232812bf548f3662823d0b643454653 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-document-position.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/compare-document-position.html
|
| @@ -29,10 +29,10 @@ function testCompareDocumentPosition()
|
| a1 = document.getElementById('a1');
|
| a2 = document.getElementById('a2');
|
| a3 = document.getElementById('a3');
|
| - b1 = getNodeInTreeOfTrees('a2/b1');
|
| - b2 = getNodeInTreeOfTrees('a2/b2');
|
| - b3 = getNodeInTreeOfTrees('a2/b3');
|
| - c1 = getNodeInTreeOfTrees('a3/c1');
|
| + b1 = getNodeInComposedTree('a2/b1');
|
| + b2 = getNodeInComposedTree('a2/b2');
|
| + b3 = getNodeInComposedTree('a2/b3');
|
| + c1 = getNodeInComposedTree('a3/c1');
|
|
|
| shouldBe('a1.compareDocumentPosition(a2)', 'Node.DOCUMENT_POSITION_CONTAINED_BY | Node.DOCUMENT_POSITION_FOLLOWING');
|
| shouldBe('a2.compareDocumentPosition(a1)', 'Node.DOCUMENT_POSITION_CONTAINS | Node.DOCUMENT_POSITION_PRECEDING');
|
|
|