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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-element-distributed-nodes.html

Issue 137993003: Revert the feature of the <shadow> element as 'a function call' to the previous behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update LayoutTests/TestExpectations Created 6 years, 11 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: 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']);

Powered by Google App Engine
This is Rietveld 408576698