OLD | NEW |
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 Loading... |
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("<" + tagName + ">: After changing its name attribute into " + e
lement.name + " by using '.name=', the name should not still be in document."); | 35 debug("<" + tagName + ">: 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> |
OLD | NEW |