is(d.createElement("div").tagName, "DIV", "The created document should have HTML nature.");
is(d.getElementsByTagName("div").length, 1, "There should be one div.");
is(d.contentType, "text/html", "contentType should be text/html");
is(d.characterSet, "UTF-8", "Expected the to be ignored.");
is(d.compatMode, "BackCompat", "Should be in the quirks mode.");
var scripts = d.getElementsByTagName("script");
is(scripts.length, 4, "Unexpected number of scripts.");
while (scripts.length) {
// These should not run when moved to another doc
document.body.appendChild(scripts[0]);
} var s = document.createElement("script");
s.src = "file_bug102699.sjs?report=1";
document.body.appendChild(s);
function continueAfterReport() {
ok(!d.documentElement.hasAttribute("data-fail"), "Should not have a data-fail attribute.");
d = p.parseFromString("", "text/html");
is(d.compatMode, "CSS1Compat", "Should be in the standards mode.");
SimpleTest.finish();
}
</script>
</pre>
</body>
</html>
¤ 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.0.4Bemerkung:
¤
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 ist noch experimentell.