Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / setAttributeNS.html
blob8f974359e11cf733bd69ee0c4e1bfc5027ab40e7
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
4 <script>
5 description("Test that setAttributeNS with a null namespaceURI actually sets it to the value null and not a string with the contents 'null'.");
7 window.elem = document.createElementNS('http://www.example.org', 'test');
8 elem.setAttributeNS(null, 'name', 'value');
9 shouldBeNull('elem.attributes[0].namespaceURI');
10 </script>