mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
20 lines
689 B
HTML
20 lines
689 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Animations: getComputedStyle().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>
|