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

Side by Side Diff: LayoutTests/fast/dom/shadow/composed-shadow-tree-walker.html

Issue 450533007: Remove children of <shadow> element added by JS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <div id="console"></div> 8 <div id="console"></div>
9 <div id="sandbox"></div> 9 <div id="sandbox"></div>
10 <script> 10 <script>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 createDOM('div', {'id': 'h'}), 93 createDOM('div', {'id': 'h'}),
94 createDOM('div', {'id': 'i'}))); 94 createDOM('div', {'id': 'i'})));
95 95
96 debug('Test for Multiple ShadowRoots.'); 96 debug('Test for Multiple ShadowRoots.');
97 testComposedShadowTree( 97 testComposedShadowTree(
98 createDOM('div', {'id': 'a'}, 98 createDOM('div', {'id': 'a'},
99 createShadowRoot(createDOM('div', {'id': 'b'}), 99 createShadowRoot(createDOM('div', {'id': 'b'}),
100 createDOM('content'), 100 createDOM('content'),
101 createDOM('div', {'id': 'c'})), 101 createDOM('div', {'id': 'c'})),
102 createShadowRoot(createDOM('div', {'id': 'd'}), 102 createShadowRoot(createDOM('div', {'id': 'd'}),
103 createDOM('shadow', {}, 103 createDOM('shadow', {}),
104 createDOM('content')),
105 createDOM('div', {'id': 'e'})), 104 createDOM('div', {'id': 'e'})),
106 createDOM('div', {'id': 'f'}))); 105 createDOM('div', {'id': 'f'})));
107 106
108 debug('Test for inactive insertion points.'); 107 debug('Test for inactive insertion points.');
109 testComposedShadowTree( 108 testComposedShadowTree(
110 createDOM('div', {'id': 'a'}, 109 createDOM('div', {'id': 'a'},
111 createDOM('content', {'id': 'b'}, 110 createDOM('content', {'id': 'b'},
112 createDOM('content', {'id': 'c'})))); 111 createDOM('content', {'id': 'c'}))));
113 112
114 debug('Test for an orphaned shadow subtree.'); 113 debug('Test for an orphaned shadow subtree.');
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 createDOM('div', {'id': 'a'}, 221 createDOM('div', {'id': 'a'},
223 createShadowRoot(), 222 createShadowRoot(),
224 createShadowRoot( 223 createShadowRoot(
225 createDOM('div', {'id': 'b'}), 224 createDOM('div', {'id': 'b'}),
226 createDOM('shadow', {'id': 'shadow'}, 225 createDOM('shadow', {'id': 'shadow'},
227 createDOM('div', {'id': 'should-not-be-used'})), 226 createDOM('div', {'id': 'should-not-be-used'})),
228 createDOM('div', {'id': 'c'})))); 227 createDOM('div', {'id': 'c'}))));
229 </script> 228 </script>
230 </body> 229 </body>
231 </html> 230 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698