Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /dom/nodes/DocumentType-remove.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset=utf-8>
<title>DocumentType.remove</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="ChildNode-remove.js"></script>
<div id=log></div>
<script>
var node, parentNode;
setup(function() {
node = document.implementation.createDocumentType("html", "", "");
parentNode = document.implementation.createDocument(null, "", null);
});
testRemove(node, parentNode, "doctype");
</script>