Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: LayoutTests/animations/keyframes-missing-arguments.html

Issue 1153493002: Remove CSSKeyframesRule.insertRule() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698