document.documentElement.offsetTop;
isnot(previousReflowCount, utils.framesReflowed, "We should have reflowed");
(shouldHaveReframed ? isnot : is)(previousConstructCount,
utils.framesConstructed,
`We should ${shouldHaveReframed ? "" : "not"} have reframed`);
}
for (const control of document.querySelectorAll("input, textarea")) {
// Creating the placeholder attribute reframes right now.
//
// TODO: Could be avoided with some more work.
expectReframe(true, () => {
control.placeholder = "foo";
});
// Incrementally changing it should not reframe, just reflow.
expectReframe(false, () => {
control.placeholder = "bar";
});
// Removing the placeholder attribute reframes right now.
//
// TODO: Could maybe be avoided with some more work.
expectReframe(true, () => {
control.removeAttribute("placeholder");
});
}
SimpleTest.finish();
</script>
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 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.