OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>CSSKeyframesRule functions missing arguments</title> | 2 <title>CSSKeyframesRule functions missing arguments</title> |
3 <style> | 3 <style> |
4 @keyframes anim { | 4 @keyframes anim { |
5 } | 5 } |
6 </style> | 6 </style> |
7 <script src="../resources/js-test.js"></script> | 7 <script src="../resources/js-test.js"></script> |
8 <script> | 8 <script> |
9 var keyframes = document.styleSheets[0].rules[0]; | 9 var keyframes = document.styleSheets[0].rules[0]; |
10 shouldBeType("keyframes", "CSSKeyframesRule"); | 10 shouldBeType("keyframes", "CSSKeyframesRule"); |
11 shouldThrow("keyframes.insertRule()"); | |
12 shouldThrow("keyframes.appendRule()"); | 11 shouldThrow("keyframes.appendRule()"); |
13 shouldThrow("keyframes.deleteRule()"); | 12 shouldThrow("keyframes.deleteRule()"); |
14 shouldThrow("keyframes.findRule()"); | 13 shouldThrow("keyframes.findRule()"); |
15 </script> | 14 </script> |
OLD | NEW |