/** Test for Bug 690056 **/
SimpleTest.waitForExplicitFinish();
is(document.hidden, false, "Document should not be hidden during load");
is(document.visibilityState, "visible", "Document should be visible during load");
addLoadEvent(function() { var doc = document.implementation.createDocument("", "", null);
is(doc.hidden, true, "Data documents should be hidden");
is(doc.visibilityState, "hidden", "Data documents really should be hidden");
is(document.hidden, false, "Document should not be hidden onload");
is(document.visibilityState, "visible", "Document should be visible onload");
is($("x").contentDocument.hidden, false, "Subframe document should not be hidden onload");
is($("x").contentDocument.visibilityState, "visible", "Subframe document should be visible onload");
is($("y").contentDocument.hidden, false, "display:none subframe document should not be hidden onload");
is($("y").contentDocument.visibilityState, "visible", "display:none subframe document should be visible onload");
SimpleTest.finish();
});
</script>
</pre>
</body>
</html>
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
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.