products/Sources/formale Sprachen/JAVA/Openjdk/src/java.desktop/unix/legal/   (Firefox Browser Version 136.0.1©)  Datei vom 13.11.2022 mit Größe 1 kB image not shown  

Quellcode-Bibliothek test_bug579767.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/layout/generic/test/test_bug579767.html


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

<head>
  <title>Test for Bug 579767</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <script src="/tests/SimpleTest/EventUtils.js"></script>
  <script src="/tests/SimpleTest/WindowSnapshot.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <style>
    iframe {
      width: 1006px;
      height: 306px;
    }
  </style>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=579767">Mozilla Bug 579767</a>
<p id="display"></p>
<div id="content">
<iframe src="file_bug579767_1.html" id="f1"></iframe>
<iframe src="file_bug579767_2.html" id="f2"></iframe>
</div>
<pre id="test">
<script type="application/javascript">

/** Test for Bug 579767 **/
SimpleTest.waitForExplicitFinish();
addLoadEvent(function() {
  var f1 = document.getElementById("f1");
  var f2 = document.getElementById("f2");
  var t1 = f1.contentDocument.documentElement;
  var t2 = f2.contentDocument.documentElement;

  setTimeout(function() {
    // drag the vertical handle 10px to the right
    synthesizeMouse(t1, 1006, {type: "mousedown"}, f1.contentWindow);
    synthesizeMouse(t1, 1016, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1026, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1036, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1046, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1056, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1066, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1076, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1086, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 1096, {type: "mousemove"}, f1.contentWindow);
    synthesizeMouse(t1, 2006, {type: "mouseup"  }, f1.contentWindow);

    setTimeout(function() {
      // drag the horizontal handle 10px to down and 5px to right
      synthesizeMouse(t1, 292, {type: "mousedown"}, f1.contentWindow);
      synthesizeMouse(t1, 393, {type: "mousemove"}, f1.contentWindow);
      synthesizeMouse(t1, 494, {type: "mousemove"}, f1.contentWindow);
      synthesizeMouse(t1, 595, {type: "mousemove"}, f1.contentWindow);
      synthesizeMouse(t1, 7102,{type: "mousemove"}, f1.contentWindow);
      synthesizeMouse(t1, 7102,{type: "mouseup"  }, f1.contentWindow);

      setTimeout(function() {
        // now compare the two windows
        ok(compareSnapshots(snapshotWindow(f1.contentWindow),
                            snapshotWindow(f2.contentWindow), true)[0],
           "The borders should be painted correctly after resizing");
        is(t1.querySelectorAll("frameset")[0].getAttribute("cols"), "11%,89%",
           "The cols attribute should be correctly updated");
        is(t1.querySelectorAll("frameset")[1].getAttribute("rows"), "100,200",
           "The rows attribute should be correctly updated");
        SimpleTest.finish();
      }, 0);
    }, 0);
  }, 0);
});

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

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

¤ 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.0.21Bemerkung:  (vorverarbeitet am  2026-06-05) ¤

*© Formatika GbR, Deutschland






Normalansicht

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.