blob: 9031fe4c7eb30e2f34c82fa91d2bc45b0fd8ca4f [file] [log] [blame]
<!doctype html>
<meta charset=utf-8>
<title>CustomEffect</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<body>
<script>
'use strict';
test(t => {
const id = "custom-animation-id";
const animation = document.timeline.animate(progress => { }, { duration: 1, id });
assert_equals(animation.id, id);
}, "document.timeline.animate() allows to set the animation's id.");
</script>
</body>