blob: b71533e1342b3a0225f6fd43ea216c567f8aa0c4 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test-pre.js"></script>
<div id="test"></div>
<script>
description('This tests that Text nodes do no have attributes nor hasAttributes.');
shouldBeFalse('Text.prototype.hasOwnProperty("hasAttributes")');
var text = document.createTextNode('text');
shouldBeFalse('"hasAttributes" in text');
shouldBeFalse('"attributes" in text');
</script>
<script src="../../../resources/js-test-post.js"></script>