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

Unified Diff: LayoutTests/animations/keyframes-missing-arguments.html

Issue 790303002: Make CSSKeyframesRule function arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/animations/keyframes-missing-arguments-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/keyframes-missing-arguments.html
diff --git a/LayoutTests/animations/keyframes-missing-arguments.html b/LayoutTests/animations/keyframes-missing-arguments.html
new file mode 100644
index 0000000000000000000000000000000000000000..c49eba2fafb849341da9fcb32232c4d6b44e617f
--- /dev/null
+++ b/LayoutTests/animations/keyframes-missing-arguments.html
@@ -0,0 +1,15 @@
+<!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.insertRule()");
+ shouldThrow("keyframes.appendRule()");
+ shouldThrow("keyframes.deleteRule()");
+ shouldThrow("keyframes.findRule()");
+</script>
« no previous file with comments | « no previous file | LayoutTests/animations/keyframes-missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698