mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests[css-animations] animation-duration computed value (#13819) Durations are serialized in seconds. https://drafts.csswg.org/css-values-4/#time -- wpt-commits: e92093981dfdba5154fd8c41021f2bf99751e67b wpt-pr: 13819
20 lines
689 B
HTML
20 lines
689 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Animations: getComputedValue().animationDelay</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-animations/#propdef-animation-delay">
|
|
<meta name="assert" content="animation-delay converts to seconds.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/computed-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="target"></div>
|
|
<script>
|
|
test_computed_value("animation-delay", "-500ms", "-0.5s");
|
|
test_computed_value("animation-delay", "calc(2 * 3s)", "6s");
|
|
test_computed_value("animation-delay", "20s, 10s");
|
|
</script>
|
|
</body>
|
|
</html>
|