<!DOCTYPE html> | |
<head> | |
<script src="../../resources/js-test.js"></script> | |
</head> | |
<body> | |
<script> | |
jsTestIsAsync = true; | |
var marquee = document.createElementNS("http://www.w3.org/1999/xhtml", "marquee"); | |
marquee.setAttribute("bgcolor", "ffcc00"); | |
var marquee2 = marquee.cloneNode(false); | |
marquee2.setAttribute("class", "foo"); | |
setTimeout(function () { | |
marquee.setAttribute("bgcolor", "110A5C5C"); | |
testPassed("marquee.setAttribute didn't crash."); | |
finishJSTest(); | |
}, 300); | |
</script> | |
</body> | |
</html> |