blob: 17f06a0da53dacea43eb791b02b94272d002689a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="target"></div>
<script src="../resources/js-test-pre.js"></script>
<script>
description("This test checks that a keyframe effect keeps its target alive even if that node has no other reference.");
gc();
const effect = new KeyframeEffect(document.createElement("div"), { });
gc();
shouldBeEqualToString("effect.target.localName", "div");
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>