Index: LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html |
diff --git a/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html b/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html |
index 46b8aef0356c47fae873f8a4d82f9bc73932526b..99b72c9ade07249a1db8e7512b1e9db994bb2770 100644 |
--- a/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html |
+++ b/LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html |
@@ -44,7 +44,7 @@ prepareTree( |
createShadowRoot( |
createDOM('shadow', {'id': 'shadow'}, |
createDOM('div', {'id': 'shadow-child'}))))); |
-assertDistributedNodes('host/shadow', ['host/shadow-child']); |
+assertDistributedNodes('host/shadow', []); |
prepareTree( |
createDOM('div', {'id': 'host'}, |
@@ -57,7 +57,7 @@ prepareTree( |
createDOM('div', {'id': 'host'}, |
createShadowRoot( |
createDOM('shadow', {'id': 'shadow'}, |
- createDOM('content'))), |
+ createDOM('div'))), |
createDOM('div', {'id': 'host-child'}))); |
assertDistributedNodes('host/shadow', ['host-child']); |
@@ -96,8 +96,7 @@ prepareTree( |
createDOM('content', {'id': 'content'}), |
createDOM('div', {'id': 'older-child-2'})), |
createShadowRoot( |
- createDOM('shadow', {'id': 'shadow'}, |
- createDOM('content'))), |
+ createDOM('shadow', {'id': 'shadow'})), |
createDOM('div', {'id': 'host-child'}))); |
assertDistributedNodes('host//shadow', ['host/older-child-1', 'host-child', 'host/older-child-2']); |
@@ -119,8 +118,7 @@ prepareTree( |
createDOM('div', {'id': 'older-content-child'})), |
createDOM('div', {'id': 'older-child-2'})), |
createShadowRoot( |
- createDOM('shadow', {'id': 'shadow'}, |
- createDOM('content'))))); |
+ createDOM('shadow', {'id': 'shadow'})))); |
assertDistributedNodes('host//shadow', ['host/older-child-1', 'host/older-content-child', 'host/older-child-2']); |
prepareTree( |
@@ -131,12 +129,10 @@ prepareTree( |
createDOM('div', {'id': 'oldest-child-2'})), |
createShadowRoot( |
createDOM('div', {'id': 'older-child-1'}), |
- createDOM('shadow', {'id': 'older-shadow'}, |
- createDOM('content')), |
+ createDOM('shadow', {'id': 'older-shadow'}), |
createDOM('div', {'id': 'older-child-2'})), |
createShadowRoot( |
- createDOM('shadow', {'id': 'shadow'}, |
- createDOM('content'))), |
+ createDOM('shadow', {'id': 'shadow'})), |
createDOM('div', {'id': 'host-child'}))); |
assertDistributedNodes('host//older-shadow', ['host/oldest-child-1', 'host-child', 'host/oldest-child-2']); |
assertDistributedNodes('host///shadow', ['host//older-child-1', 'host/oldest-child-1', 'host-child', 'host/oldest-child-2', 'host//older-child-2']); |