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

Side by Side Diff: LayoutTests/fast/dom/shadow/getelementbyid-shadow.html

Issue 14594006: Remove Internals::createShadowRoot(element) and polyfill.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/polyfill.js"></script>
6 5
7 <div id="container"></div> 6 <div id="container"></div>
8 <pre id="console"></pre> 7 <pre id="console"></pre>
9 8
10 <script> 9 <script>
11 description("Tests to ensure ShadowRoot.getElementById works after complex DOM m anipulation."); 10 description("Tests to ensure ShadowRoot.getElementById works after complex DOM m anipulation.");
12 11
13 function createDiv(id) 12 function createDiv(id)
14 { 13 {
15 var div = document.createElement('div'); 14 var div = document.createElement('div');
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 68
70 shouldBe('document.getElementById("A")', 'null'); 69 shouldBe('document.getElementById("A")', 'null');
71 shouldBe('shadowRootA.getElementById("B")', 'B'); 70 shouldBe('shadowRootA.getElementById("B")', 'B');
72 shouldBe('shadowRootB.getElementById("C")', 'null'); 71 shouldBe('shadowRootB.getElementById("C")', 'null');
73 shouldBe('shadowRootC.getElementById("D")', 'null'); 72 shouldBe('shadowRootC.getElementById("D")', 'null');
74 73
75 </script> 74 </script>
76 <script src="../../js/resources/js-test-post.js"></script> 75 <script src="../../js/resources/js-test-post.js"></script>
77 </body> 76 </body>
78 </html> 77 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/getelementbyid-in-orphan.html ('k') | LayoutTests/fast/dom/shadow/has-content-elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698