mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-11 10:41:04 +00:00
14 lines
551 B
HTML
14 lines
551 B
HTML
|
|
<!doctype html>
|
||
|
|
<script src="../include.js"></script>
|
||
|
|
<script>
|
||
|
|
test(() => {
|
||
|
|
const printElement = (element) => {
|
||
|
|
println(`Element nodeName: ${element.nodeName} namespaceURI: ${element.namespaceURI} __proto__: ${element.__proto__}`);
|
||
|
|
};
|
||
|
|
|
||
|
|
printElement(document.createElementNS('http://www.w3.org/1999/xhtml', 'foo'));
|
||
|
|
printElement(document.createElementNS('http://www.w3.org/2000/svg', 'foo'));
|
||
|
|
printElement(document.createElementNS('http://www.w3.org/1998/Math/MathML', 'foo'));
|
||
|
|
});
|
||
|
|
</script>
|