1
2
3
4
5
6
7
8
9
10
11
12
13
content / test / data / dom_serializer / non_html_namespace.htm [blame]
<!DOCTYPE html>
<html>
<body>
<script>
window.onload = function() {
var input = document.createElementNS("urn:x-foo", "input");
input.setAttribute("type", "image");
input.setAttribute("src", "bar.png");
document.body.appendChild(input);
};
</script>
</body>
</html>