var d = document.createElement("div");
d.innerHTML = "hello world";
var imported = document.importNode(d);
is(imported.childNodes.length, 0, "Should not have cloned child nodes with no deep arg!");
is(imported.textContent, "", "Should not have cloned text with no deep arg!");
imported = document.importNode(d, true);
is(imported.childNodes.length, 2, "Should have cloned child nodes!");
is(imported.textContent, "hello world", "Should have cloned text!");
imported = document.importNode(d, false);
is(imported.childNodes.length, 0, "Shouldn't have cloned child nodes!");
is(imported.textContent, "", "Shouldn't have cloned text!");
</script>
</pre>
</body>
</html>
Messung V0.5
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.10Angebot
Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.