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


Quelle  test_bug450191.html   Sprache: HTML

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


<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=450191
-->

<head>
  <title>Test for Bug 450191</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body onload="run()">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=450191">Mozilla Bug 450191</a>
<iframe id="display" src="about:blank"></iframe>
<pre id="test">
<script type="application/javascript">

/** Test for Bug 450191 **/

SimpleTest.waitForExplicitFinish();

function run() {
  var iframe = document.getElementById("display");
  var subdoc = iframe.contentDocument;
  var subwin = iframe.contentWindow;

  var doctext = "
div text
table text
"
;

  function subdoc_body_font() {
    return subwin.getComputedStyle(subdoc.body).fontSize;
  }

  function subdoc_cell_font() {
    return subwin.getComputedStyle(subdoc.getElementById("t")).fontSize;
  }

  subdoc.open();
  subdoc.write(doctext);
  subdoc.close();

  is(subdoc_cell_font(), subdoc_body_font(),
        "Quirks style sheet should be applied.");
  
  subdoc.open();
  subdoc.write("" + doctext);
  subdoc.close();

  isnot(subdoc_cell_font(), subdoc_body_font(),
        "Quirks style sheet should NOT be applied.");
  
  subdoc.open();
  subdoc.write(doctext);
  subdoc.close();

  is(subdoc_cell_font(), subdoc_body_font(),
     "Quirks style sheet should be applied.");

  SimpleTest.finish();
}


</script>
</pre>
</body>
</html>

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

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