<!-- Make sure embed element is snapped to an exact pixel. -->
<div class="bug-header"style="height: 100px;">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=666446">
Mozilla Bug 666446: lots of animated gifs swamp us with paint events
</a>
</div>
<p id="display"></p>
<div id="content">
<div id="referenceDiv"style="height: 40px; width: 40px;
display: none; background: #2aff00"></div> <!-- We use <embed> here instead of <img> because the <img> tag utilizes the VectorImage class for SVG, whereas in this test, we are testing RasterImage.
-->
<embed id="embeddedSVG" src="animation.svg" type="image/svg+xml" style="height: 40px; width: 40px; display: none;"/>
</div>
<div id="debug"style="display:none"></div>
<pre id="test">
<script type="text/javascript">
/** Test for Bug 666446 SVGImageFrame/RasterImage**/
const FAILURE_TIMEOUT = 120000; // Fail early after 120 seconds (2 minutes)
function main() { var animTest = new AnimationTest(20, FAILURE_TIMEOUT, 'referenceDiv', 'embeddedSVG', 'debug', '');
animTest.beginTest();
}
window.onload = main;
</script>
</pre>
</body>
</html>
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet am 2026-04-25)
¤
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.