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

Quelle  1288255.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/layout/reftests/bugs/1288255.html


<!DOCTYPE html>
<html lang="en" class="reftest-wait">
<head>
  <meta charset="UTF-8">
  <title>Bug 1288255 - Wrong line breaking due to cached hyphen width</title>
  <style id="font" media="not all">
    @font-face {
      font-family: LongHyphenTest;
      src: url(LongHyphenTest.woff2);
    }
  </style>
  <style>
    #test {
      font: 16px/2 LongHyphenTest;
      width: 14em;
      border: 1px solid blue;
    }
  </style>
</head>
<body onload="load_font()">
  <p>Test passes if there are two lines each has three rectangles:</p>
  <div id="test">
    <span>XXX XXX</span> XXX X­XX XXX XXX
  </div>
  <script>
    function load_font() {
      document.getElementById("font").media = "";
      document.fonts.load("16px LongHyphenTest").then(() => {
        document.documentElement.className = "";
      });
    }
  </script>
</body>
</html>

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

¤ 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.