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

Side by Side Diff: LayoutTests/fast/dom/shadow/has-shadow-insertion-point.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 <head> 3 <head>
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 <script> 5 <script>
7 if (!window.internals) 6 if (!window.internals)
8 debug("windows.internals not found!"); 7 debug("windows.internals not found!");
9 else if (!window.internals.hasShadowInsertionPoint) 8 else if (!window.internals.hasShadowInsertionPoint)
10 debug("windows.internals.hasShadowInsertionPoint not found!"); 9 debug("windows.internals.hasShadowInsertionPoint not found!");
11 </script> 10 </script>
12 </head> 11 </head>
13 <body> 12 <body>
14 13
15 <p>Test for Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=97184">97184</a > and <a href="https://bugs.webkit.org/show_bug.cgi?id=104346">104346</a> : HTML ShadowElement should be registered correctly.</p> 14 <p>Test for Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=97184">97184</a > and <a href="https://bugs.webkit.org/show_bug.cgi?id=104346">104346</a> : HTML ShadowElement should be registered correctly.</p>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 shouldBeTrue('internals.hasShadowInsertionPoint(shadowRoot)'); 83 shouldBeTrue('internals.hasShadowInsertionPoint(shadowRoot)');
85 shadowRoot.removeChild(div1); 84 shadowRoot.removeChild(div1);
86 shouldBeFalse('internals.hasShadowInsertionPoint(shadowRoot)'); 85 shouldBeFalse('internals.hasShadowInsertionPoint(shadowRoot)');
87 div1.removeChild(shadow); 86 div1.removeChild(shadow);
88 87
89 </script> 88 </script>
90 <script src="../../js/resources/js-test-post.js"></script> 89 <script src="../../js/resources/js-test-post.js"></script>
91 </body> 90 </body>
92 </html> 91 </html>
93 92
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/has-elementshadow.html ('k') | LayoutTests/fast/dom/shadow/iframe-shadow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698