Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  test_mathml.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/accessible/tests/mochitest/textattrs/test_mathml.html


<html>

<head>
  <title>MathML Text attributes tests</title>
  <meta charset="utf-8">
  <link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css" />

  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>

  <script src="../common.js"></script>
  <script src="../attributes.js"></script>
  <script src="../events.js"></script>

  <script>
    function doTest() {
      const math = getNode("math");
      const defAttrs = buildDefaultTextAttrs(math, "10pt");
      testDefaultTextAttrs(math, defAttrs);

      for (const id of ["mn""mi""annotation""annotationXml"]) {
        testTextAttrs(id, 0, {}, defAttrs, 0, 1);
      }

      // These elements contain a surrogate pair, so the end offset is 2.
      for (const id of ["mn_double_struck""mi_italic"]) {
        testTextAttrs(id, 0, {}, defAttrs, 0, 2);
      }

      SimpleTest.finish();
    }

    SimpleTest.waitForExplicitFinish();
    addA11yLoadEvent(doTest);
  </script>
</head>
<body style="font-size: 12pt">

  <p id="display"></p>
  <div id="content" style="display: none"></div>
  <pre id="test">
  </pre>

  <math id="math" style="font-size: smaller">
    <mn id="mn">1</mn>
    <mi id="mi" mathvariant="normal">x</mi>
    <mn id="mn_double_struck">��</mn>
    <mi id="mi_italic">x</mi>
    <!-- tabindex forces creation of an Accessible -->
    <annotation id="annotation" tabindex="0">a</annotation>
    <annotation-xml id="annotationXml" tabindex="0">a</annotation-xml>
  </math>

</body>
</html>

Messung V0.5
C=99 H=100 G=99

¤ Dauer der Verarbeitung: 0.11 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge