Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/docshell/test/navigation/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Impressum file_bug1750973.html   Interaktion und
PortierbarkeitHTML

 
 products/sources/formale Sprachen/C/Firefox/docshell/test/navigation/file_bug1750973.html


<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <script>
    function test() {
      history.scrollRestoration = "manual";
      document.getElementById("initialfocus").focus();
      history.pushState('data''''');
      history.back();
    }

    window.onpopstate = function() {
      window.onscroll = function() {
        window.onscroll = null;
        document.documentElement.style.display = "none";
        // focus() triggers recreation of the nsIFrames without a reflow.
        document.getElementById("focustarget").focus();
        document.documentElement.style.display = "";
        // Flush the layout.
        document.documentElement.getBoundingClientRect();
        opener.isnot(window.scrollY, 0, "The page should have been scrolled down(1)");
        requestAnimationFrame(
          function() {
            // Extra timeout to ensure we're called after rAF has triggered a
            // reflow.
            setTimeout(function() {
              opener.isnot(window.scrollY, 0, "The page should have been scrolled down(2)");
              window.close();
              opener.SimpleTest.finish();
            });
        });
      }
      window.scrollTo(0, 1000);
    }
  </script>
</head>
<body onload="setTimeout(test)">
<div style="position: fixed;">
  <input type="button" value="" id="initialfocus">
  <input type="button" value="" id="focustarget">
</div>
<div style="border: 1px solid black; width: 100px; height: 9000px;"></div>
</body>
</html>

100%


¤ 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.13Bemerkung:  Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können  ¤

*Eine klare Vorstellung vom Zielzustand






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 ist noch experimentell.