blob: 42141ea3edea1371c214f26ca9110482807a9bc3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
noscript {
animation: animation 1s infinite;
}
@keyframes animation {
to { margin-left: "100px" };
}
</style>
</head>
<body>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<noscript>Hello World</noscript>
<script>
test(() => {
assert_equals(document.querySelector("noscript").getAnimations().length, 0);
}, "A CSS Animation cannot be created on a <noscript> element.");
</script>
</body>
</html>