2 <script src=
"../../../resources/js-test.js"></script>
6 description('This tests that Text nodes do no have attributes nor hasAttributes.');
8 shouldBeFalse('Text.prototype.hasOwnProperty("hasAttributes")');
10 var text
= document
.createTextNode('text');
11 shouldBeFalse('"hasAttributes" in text');
12 shouldBeFalse('"attributes" in text');