Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/reftests/svg/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 756 B image not shown  

SSL foreignObject-img.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/layout/reftests/svg/foreignObject-img.html


<!DOCTYPE html>
<html class="reftest-wait">
<style>
img { position: absolute; top: 0; left: 0; }
</style>
<img src="foreignObject-img-helper.svg">
<script>

// The load of the data: URL inside foreignObject-img-helper.svg does not block
// the load event of the <img> in this document, so we loop, painting the image
// to a canvas, to tell when it's ready. (So if this test fails, it will fail
// by timing out.)

var img = document.querySelector("img");
var canvas = document.createElement("canvas");
var ctx = canvas.getContext("2d");

function paint() {
  ctx.drawImage(img, 0, 0);
  if (ctx.getImageData(0, 0, 1, 1).data[1] == 255) {
    document.documentElement.className = "";
  } else {
    requestAnimationFrame(paint);
  }
}

paint();

</script>

Messung V0.5
C=94 H=96 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.