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

Quelle  test_import_preload.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/layout/style/test/test_import_preload.html


<!doctype html>
<meta charset="utf-8">
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
<script src="slow_load.sjs"></script>
<script>
  let time = Date.now();
  SimpleTest.waitForExplicitFinish();

  onload = function() {
    let styleTime = parseInt(getComputedStyle(document.documentElement).zIndex, 10);
    isnot(styleTime, 0, "Should apply the @import sheet");
    ok(!isNaN(styleTime), "Should apply the @import sheet (and not be nan)");
    // This is technically a bit racy... Also see the comment in slow_load.sjs about the clamping.
    time = time % (Math.pow(2, 31) - 1);
    ok(styleTime < time"Should try to fetch the import before running the script: " + styleTime + " vs. " + time);
    SimpleTest.finish();
  }
</script>
<style>
  @import url(slow_load.sjs?css)
</style>

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

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© 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.