blob: 1e90de2ad640fc3c72783b4008728945dcb050b1 [file] [log] [blame]
<!doctype html>
<title>createElement('a:b') in HTML</title>
<p>FAIL (script didn't run)</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var got = document.createElement('a:b').localName;
var expected = 'a:b';
var passed = got == expected;
document.getElementsByTagName('p')[0].firstChild.data = passed ? 'PASS' : 'FAIL (got: ' + got + ', expected: ' + expected + ')';
</script>