Revision control

1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
6
noscript {
7
animation: animation 1s infinite;
8
}
9
10
@keyframes animation {
11
to { margin-left: "100px" };
12
}
13
14
</style>
15
</head>
16
<body>
17
<script src="../resources/testharness.js"></script>
18
<script src="../resources/testharnessreport.js"></script>
19
<noscript>Hello World</noscript>
20
<script>
21
22
test(() => {
23
assert_equals(document.querySelector("noscript").getAnimations().length, 0);
24
}, "A CSS Animation cannot be created on a <noscript> element.");
25
26
</script>
27
</body>
28
</html>