Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Animations: parsing animation-trigger-behavior with valid values</title>
<!-- TODO(crbug.com/390314945): Replace with spec link when the spec lands. -->
<meta name="assert" content="animation-composition supports the full grammar '<single-animation-trigger-behavior> #'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("animation-trigger-behavior", "once");
test_valid_value("animation-trigger-behavior", "repeat");
test_valid_value("animation-trigger-behavior", "alternate");
test_valid_value("animation-trigger-behavior", "state");
test_valid_value("animation-trigger-behavior", "once, repeat");
test_valid_value("animation-trigger-behavior", "once, repeat, alternate");
test_valid_value("animation-trigger-behavior", "once, repeat, alternate, state");
</script>
</body>
</html>