| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 description("Test Attr.isId where Attr is created without element."); | 8 description("Test Attr.isId where Attr is created without element."); |
| 9 | 9 |
| 10 var attr = document.createAttributeNS("http://www.w3.org/XML/1998/namespace","xm
l:lang"); | 10 var attr = document.createAttributeNS("http://www.w3.org/XML/1998/namespace","xm
l:lang"); |
| 11 shouldBeFalse('attr.isId'); | 11 shouldBeFalse('attr.isId'); |
| 12 | 12 |
| 13 var attr = document.createAttributeNS("","id"); | 13 var attr = document.createAttributeNS("","id"); |
| 14 shouldBeTrue('attr.isId'); | 14 shouldBeTrue('attr.isId'); |
| 15 </script> | 15 </script> |
| 16 <script src="../../js/resources/js-test-post.js"></script> | |
| 17 </body> | 16 </body> |
| 18 </html> | 17 </html> |
| OLD | NEW |