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


Quelle  test_cascade.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/animation/test/mozilla/test_cascade.html


<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
<style>
@keyframes margin-left {
  from { margin-left: 20px; }
  to   { margin-left: 80px; }
}
</style>
<body>
<div id="log"></div>
<script>
'use strict';

test(function(t) {
  var div = addDiv(t, { style'transition: margin-left 100s; ' +
                               'margin-left: 80px' });
  var cs = getComputedStyle(div);

  assert_equals(cs.marginLeft, '80px''initial margin-left');

  div.style.marginLeft = "20px";
  assert_equals(cs.marginLeft, '80px''margin-left transition at 0s');

  div.style.animation = "margin-left 2s";
  assert_equals(cs.marginLeft, '20px',
                'margin-left animation overrides transition at 0s');

  div.style.animation = "none";
  assert_equals(cs.marginLeft, '80px',
                'margin-left animation stops overriding transition at 0s');
}, 'Animation overrides/stops overriding transition immediately');

</script>
</body>

Messung V0.5
C=95 H=93 G=93

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

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