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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/get-destination-insertion-points-skips-user-agent-shadow.html

Issue 1684533002: Rename "tree of trees" to "composed tree". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Tests that getDestinationInsertionPoints() should skip insertion po ints in user-agent shadow roots."); 9 description("Tests that getDestinationInsertionPoints() should skip insertion po ints in user-agent shadow roots.");
10 10
11 document.body.appendChild( 11 document.body.appendChild(
12 createDOM('div', {}, 12 createDOM('div', {},
13 createDOM('div', {'id': 'host'}, 13 createDOM('div', {'id': 'host'},
14 createShadowRoot( 14 createShadowRoot(
15 createDOM('detail', {'id': 'detail'}, 15 createDOM('detail', {'id': 'detail'},
16 createDOM('div', {'id': 'detail-child'}), 16 createDOM('div', {'id': 'detail-child'}),
17 createDOM('content', {'id': 'content'}))), 17 createDOM('content', {'id': 'content'}))),
18 createDOM('div', {'id': 'host-child'})))); 18 createDOM('div', {'id': 'host-child'}))));
19 19
20 shouldBeEqualAsArray(document.getElementById('host-child').getDestinationInserti onPoints(), 20 shouldBeEqualAsArray(document.getElementById('host-child').getDestinationInserti onPoints(),
21 [getNodeInTreeOfTrees('host/content')]); 21 [getNodeInComposedTree('host/content')]);
22 shouldBeZero("getNodeInTreeOfTrees('host/detail-child').getDestinationInsertionP oints().length"); 22 shouldBeZero("getNodeInComposedTree('host/detail-child').getDestinationInsertion Points().length");
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698