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


Quelle  helper_bug1934118.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/gfx/layers/apz/test/mochitest/helper_bug1934118.html


<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <script src="apz_test_utils.js"></script>
  <script src="apz_test_native_event_utils.js"></script>
  <script src="/tests/SimpleTest/paint_listener.js"></script>
  <style>
  html {
    scroll-snap-type: x mandatory;
    overflow: scroll;
    scroll-behavior: smooth;
  }
  /*
   * Layout three child divs horizontally.
   * Each div has a horizontal snap point, but
   * doesn't have any vertical valid snap point.
   */
  .container {
    flex-direction: row;
    display: flex;
    width: 100vw;
    height: 30vh;
  }
  .container div {
    background-color: grey;
    width: 30vw;
    height: 100%;
    margin: 10px;
    scroll-snap-align: none center;
    scroll-snap-stop: always;
  }
  </style>
</head>
<body>
  <div class="container">
    <div></div>
    <div></div>
    <div></div>
  </div>
  <div style="height: 200vh"></div>
</body>
<script type="application/javascript">
async function test() {
  const container = document.querySelector(".container");

  const scrollendPromise = promiseOneEvent(window, "scrollend");

  // Try to scroll down by a wheel event.
  synthesizeNativeWheel(container, 50, 50, 0, -50);

  // Wait for the end of the smooth scrolling triggered by above wheel event.
  await scrollendPromise;

  ok(window.scrollY, "`scroll-snap-type: x mandatory` doesn't trap vertical scrolling");
}

if (getPlatform() == "android") {
  ok(true, "Skipping test because native wheel events are not supported on Android");
  subtestDone();
} else if (getPlatform() == "linux") {
  ok(true, "Skipping test on Linux because of bug 1889039");
  subtestDone();
} else {
  waitUntilApzStable()
  .then(test)
  .then(subtestDone, subtestFailed);
}
</script>
</html>

Messung V0.5
C=100 H=100 G=100

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