summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/animations/keyframes-missing-arguments.html
blob: 8babd8d7b7d505c2041e64a9e391cd13b3d48c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>CSSKeyframesRule functions missing arguments</title>
<style>
  @keyframes anim {
  }
</style>
<script src="../resources/js-test.js"></script>
<script>
  var keyframes = document.styleSheets[0].rules[0];
  shouldBeType("keyframes", "CSSKeyframesRule");
  shouldThrow("keyframes.appendRule()");
  shouldThrow("keyframes.deleteRule()");
  shouldThrow("keyframes.findRule()");
</script>