blob: c2408078858ba826570b9ab09393bbafc3061186 [file] [log] [blame]
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function runTest()
{
if (window.testRunner)
testRunner.dumpAsText();
var outputText = document.getElementById("output");
document.getElementById('target').setAttributeNS('ns', 'title', 'value');
if (document.getElementById('target').outerHTML.match('xmlns="ns"'))
outputText.textContent = 'FAIL: ' + document.getElementById('target').outerHTML;
else
outputText.textContent = "PASS";
}
</script>
</head>
<body onload="runTest()">
<div id="target"/>
<div id="output"/>
</body>
</html>