blob: b9d9deb3c470e74acb0c87ac88be44db84a8c694 [file] [log] [blame]
<!doctype html>
<title>createElement('a:b') in HTML</title>
<p>FAIL (script didn't run)</p>
<script>
if (window.layoutTestController)
layoutTestController.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>