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

Side by Side Diff: LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan-expected.txt

Issue 133213008: Either content elements or shadow elements should not be treated as insertion points if they are no… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 getDistributedNodes() should work out of Document 1 getDistributedNodes() shouldn't work unless it is inDocument
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 getDistributedNodes() should work out of Document
7 PASS nodeList.length is expectedNodes.length 6 PASS nodeList.length is expectedNodes.length
8 PASS nodeList.item(0) is expectedNodes[0]
9
10 When a content element is disconnected from ShadowRoot, it should not work.
11 PASS nodeList.length is expectedNodes.length
12
13 Reprojection case
14 PASS nodeList.length is expectedNodes.length
15 PASS nodeList.item(0) is expectedNodes[0]
16 PASS nodeList.length is expectedNodes.length
17 PASS nodeList.item(0) is expectedNodes[0]
18 PASS nodeList.item(1) is expectedNodes[1]
19
20 rootChild is disconnected. Now content became inactive, so content element itsel f should be distributed.
21 PASS nodeList.length is expectedNodes.length
22 PASS nodeList.length is expectedNodes.length
23 PASS nodeList.item(0) is expectedNodes[0]
24 PASS nodeList.item(1) is expectedNodes[1]
25 7
26 PASS successfullyParsed is true 8 PASS successfullyParsed is true
27 9
28 TEST COMPLETE 10 TEST COMPLETE
29 11
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html ('k') | Source/core/dom/shadow/InsertionPoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698