Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Text / text-should-not-have-attributes.html
blobe4cc5cada5c3483106385baad4226f47c3f213f5
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <div id="test"></div>
4 <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');
14 </script>