Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/html/test/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_bug330705-1.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/html/test/test_bug330705-1.html


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

<head>
  <title>Test for Bug 330705</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>        
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
  <script>
  /* variable is true if the element is focused, false otherwise */
  var inputFocused = false;
  </script>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=330705">Mozilla Bug 330705</a>
<p id="display">
  <input onfocus="inputFocused = true" onblur="inputFocused = false" type="text">
  <button></button>
</p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
/** Test for Bug 330705 **/
        SimpleTest.waitForExplicitFinish();
        var isFocused = false;

        function onLoad() {
          document.getElementsByTagName('input')[0].focus();
          document.getElementsByTagName('button')[0].blur();
          ok(inputFocused == true, "the input element is still focused after blur() has been called on the unfocused element");
          SimpleTest.finish();
        }

        addLoadEvent(onLoad);
</script>
</pre>
</body>
</html>


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

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-06-08) ¤

*© 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.