let i = 0;
for (const use of subtreeRoot.querySelectorAll("use"))
i += 1 + countUseElements(SpecialPowers.wrap(use).openOrClosedShadowRoot);
return i;
}
SimpleTest.waitForExplicitFinish();
onload = function() {
document.body.offsetTop;
// The three in the document, plus the two created from the element that's
// not in the <symbol> subtree.
is(countUseElements(document), 5, "Shouldn't create more than 5 use elements");
SimpleTest.finish();
}
</script>
Messung V0.5
¤ Dauer der Verarbeitung: 0.21 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.