| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/flat-tree-traversal-shadow-reprojection.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/flat-tree-traversal-shadow-reprojection.html
|
| similarity index 95%
|
| rename from third_party/WebKit/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html
|
| rename to third_party/WebKit/LayoutTests/fast/dom/shadow/flat-tree-traversal-shadow-reprojection.html
|
| index 7dc7b7ce01648c27af96a49553673e8fd3fb8078..30705012fcee59f3058ea6ded2d2a11719998454 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/flat-tree-traversal-shadow-reprojection.html
|
| @@ -10,23 +10,23 @@
|
| <script>
|
| description("Tests for Composed Shadow DOM Tree Traversal APIs. Can only run within DRT");
|
|
|
| -function testComposedShadowTree(node)
|
| +function testFlatTree(node)
|
| {
|
| var sandbox = document.getElementById('sandbox');
|
| sandbox.innerHTML = '';
|
| sandbox.appendChild(node);
|
| document.body.offsetLeft;
|
| - showComposedShadowTree(node);
|
| + showFlatTree(node);
|
| }
|
|
|
| debug('Multiple shadow root without shadow element');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createShadowRoot(createDOM('div', {'id': 'b'})),
|
| createShadowRoot(createDOM('div', {'id': 'c'}))));
|
|
|
| debug('Multiple shadow root with shadow element');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createShadowRoot(createDOM('div', {'id': 'b'})),
|
| createShadowRoot(createDOM('div', {'id': 'c'}),
|
| @@ -34,7 +34,7 @@ testComposedShadowTree(
|
| createDOM('div', {'id': 'e'}))));
|
|
|
| debug('Multiple shadow root with shadow element, case 2');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createShadowRoot(createDOM('div', {'id': 'b'})),
|
| createShadowRoot(createDOM('div', {'id': 'c'}),
|
| @@ -45,7 +45,7 @@ testComposedShadowTree(
|
| createDOM('div', {'id': 'h'}))));
|
|
|
| debug('shadow reprojection');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createDOM('div', {'id': 'a-child'}),
|
| createShadowRoot(createDOM('div', {'id': 'b'},
|
| @@ -55,7 +55,7 @@ testComposedShadowTree(
|
| createDOM('div', {'id': 'f'}))))));
|
|
|
| debug('shadow reprojection, take 2');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createDOM('div', {'id': 'b'}),
|
| createShadowRoot(createDOM('shadow', {'id': 'c'})),
|
| @@ -66,7 +66,7 @@ testComposedShadowTree(
|
| createDOM('div', {'id': 'h'}))))));
|
|
|
| debug('Ignore shadow fallback elements');
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createDOM('div', {'id': 'b'}),
|
| createShadowRoot(createDOM('div', {'id': 'c'}),
|
| @@ -82,7 +82,7 @@ testComposedShadowTree(
|
| createDOM('div', {'id': 'm'}))))));
|
|
|
| debug('with inactive insertion points')
|
| -testComposedShadowTree(
|
| +testFlatTree(
|
| createDOM('div', {'id': 'a'},
|
| createDOM('content', {'id': 'b'},
|
| createDOM('div', {'id': 'c'})),
|
|
|