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

Side by Side Diff: LayoutTests/fast/dom/shadow/element-name-in-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 <head> 3 <head>
4 <script src="resources/polyfill.js"></script>
5 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
6 </head> 5 </head>
7 <body> 6 <body>
8 <div></div> 7 <div></div>
9 <script> 8 <script>
10 var div = document.querySelector("div"); 9 var div = document.querySelector("div");
11 document.body.appendChild(div); 10 document.body.appendChild(div);
12 var shadowRoot = div.webkitCreateShadowRoot(); 11 var shadowRoot = div.webkitCreateShadowRoot();
13 12
14 //Window named properties 13 //Window named properties
(...skipping 18 matching lines...) Expand all
33 shouldBeFalse("element.name in document"); 32 shouldBeFalse("element.name in document");
34 shouldBeFalse("element.name in window"); 33 shouldBeFalse("element.name in window");
35 element.name = 're-renamed_' + tagName; 34 element.name = 're-renamed_' + tagName;
36 debug("&lt;" + tagName + "&gt;: After changing its name attribute into " + e lement.name + " by using '.name=', the name should not still be in document."); 35 debug("&lt;" + tagName + "&gt;: After changing its name attribute into " + e lement.name + " by using '.name=', the name should not still be in document.");
37 shouldBeFalse("element.name in document"); 36 shouldBeFalse("element.name in document");
38 shouldBeFalse("element.name in window"); 37 shouldBeFalse("element.name in window");
39 }); 38 });
40 </script> 39 </script>
41 </body> 40 </body>
42 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698