</style>
<div id="scrollable">
<div id="scrollabletarget">
</div>
</div>
<script>
async function test() {
ok(!scrollabletarget.matches(":active"), "should not be active initially");
let rAFID = requestAnimationFrame(function ensureInactive() {
let isActive = scrollabletarget.matches(":active");
ok(!isActive, "Element activation should never happen!");
if (!isActive) {
rAFID = requestAnimationFrame(ensureInactive);
}
});
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.