Eine aufbereitete Darstellung der Quelle

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

Benutzer

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, 50500, -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 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002