Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/style/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 955 B image not shown  

Quelle  test_stylesheet_clone_font_face.html   Sprache: HTML

 

 products/Sources/formale Sprachen/C/Firefox/layout/style/test/test_stylesheet_clone_font_face.html


<!DOCTYPE html>
<html lang="en-US">
<link rel="stylesheet" href="data:text/css,@font-face { font-family: 'MarkA'; src: url(../fonts/markA.ttf); }">
<link rel="stylesheet" href="data:text/css,@font-face { font-family: 'MarkA'; src: url(../fonts/markA.ttf); }">

<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<style>
  body { font-family: "MarkA"; }
</style>
<div>ABC</div>
<script>
  function runTest() {
    var links = document.getElementsByTagName("link");
    try {
      links[0].sheet.cssRules[0].style.src = "../fonts/markB.ttf";
    } catch(e) {
      todo(false, "Shouldn't throw on set (bug 443978)");
    }

    // Test that the cloned sheet is unaffected.
    isnot(links[1].sheet.cssRules[0].style.src, "../fonts/markB.ttf", "Cloned sheet left unchanged.");

    SimpleTest.finish();
  }

  SimpleTest.waitForExplicitFinish();
  runTest();
</script>
</html>

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.21 Sekunden  (vorverarbeitet am  2026-10-01) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.