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

Quelle  test_bug1714640.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/layout/base/tests/test_bug1714640.html


<!DOCTYPE HTML>
<meta charset="utf-8">
<title>Bug NNN</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
<style>
  @font-face {
    font-family: Ahem;
    src: url("Ahem.ttf");
  }

  pre {
    font14px/1 Ahem;
    height: 50px;
    overflow-y: scroll;
  }
</style>
<pre id=target contenteditable>ABC





<br></pre>
<script>
  getSelection().collapse(target.childNodes[0], 9);
  SimpleTest.waitForExplicitFinish();
  SimpleTest.waitForFocus(() => {
    target.focus();
    is(document.activeElement, target, "Should be focused");
    is(target.scrollTop, 0"Should be scrolled to the top");

    let editor = SpecialPowers.wrap(window).docShell.editor;
    let controller = editor.selectionController;
    let nsISelectionController = SpecialPowers.Ci.nsISelectionController;
    controller.scrollSelectionIntoView(nsISelectionController.SELECTION_NORMAL, nsISelectionController.SELECTION_ANCHOR_REGION, nsISelectionController.SCROLL_SYNCHRONOUS);

    is(target.scrollTop, target.scrollTopMax, "Should be scrolled to the bottom");
    SimpleTest.finish();
  });
</script>

Messung V0.5 in Prozent
C=88 H=98 G=93

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-04) ¤

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