blob: d9fe2660a1c6bcf264f0e7c414ba0e741ed55153 [file] [log] [blame]
This test was written to address rdar://problem/4976879. And tests how namespaceURI's are assigned.
Test1: document.namespaceURI
PASS: document.namespaceURI should be 'null' and is.
Test2: document.createElement().namespaceURI
PASS: document.createElement("div").namespaceURI should be 'http://www.w3.org/1999/xhtml' and is.
Test3: script tag.namespaceURI
PASS: myScriptTag.namespaceURI should be 'http://www.w3.org/1999/xhtml' and is.