mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
13 lines
432 B
HTML
13 lines
432 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
var xmlDocument = document.implementation.createDocument(null, "root", null);
|
|
var divElement = xmlDocument.createElementNS("http://www.w3.org/1999/xhtml", "div");
|
|
divElement.setAttribute("FoO", "bar");
|
|
|
|
xmlDocument.documentElement.appendChild(divElement);
|
|
|
|
println(new XMLSerializer().serializeToString(xmlDocument));
|
|
});
|
|
</script>
|