| 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)');
|
|
|
|
|