<!doctypehtml>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<script src="/tests/SimpleTest/paint_listener.js"></script>
<style> div {
/* Element needs geometry to be eligible for layerization */
width: 20px;
height: 20px;
background-color: white;
}
</style>
<body>
<div id="log"></div>
<script> 'use strict';
if (!SpecialPowers.DOMWindowUtils.layerManagerRemote ||
!SpecialPowers.getBoolPref( 'layers.offmainthreadcomposition.async-animations')) {
// If OMTA is disabled, nothing to run.
done();
}
function waitForPaintsFlushed() {
return new Promise(function(resolve, reject) {
waitForAllPaintsFlushed(resolve);
});
}
promise_test(t => {
// Without this, the first test case fails on Android.
return waitForDocumentLoad();
}, 'Ensure document has been loaded');
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.