Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / createElementNS-empty-namespace.html
blob189a5e17e4aa50942a984619b0b2333d6e980aa5
1 <p>Test that createElementNS("", ...) creates an element in null namespace. Per DOM 3 Core,</p>
2 <pre>In programming languages where empty strings can be differentiated from null, empty strings, when given as a namespace URI, are converted to null.</pre>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 var elem = document.createElementNS("", "p");
8 document.write(elem.namespaceURI === null ? "PASS" : ("FAIL: '" + elem.namespaceURI + "'"));
9 </script>