Index: third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html |
diff --git a/third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html b/third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html |
index b32d662535d33e2f8f03f389261b2ad896b1bbee..1dc95e01604ed68867bc9dd90c62edda2ec30088 100644 |
--- a/third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html |
+++ b/third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html |
@@ -6,6 +6,18 @@ |
<body> |
<p id="description"></p> |
<div id="console"></div> |
-<script src="script-tests/animation-css-rule-types.js"></script> |
+<script> |
+description( |
+'This test checks that the CSSRule RuleTypes for keyframe-related rules are what we expect.' |
+); |
+ |
+var ruleType = window.CSSRule.KEYFRAMES_RULE; |
+shouldBe("ruleType", "7"); |
+ruleType = window.CSSRule.KEYFRAME_RULE; |
+shouldBe("ruleType", "8"); |
+ |
+debug('If we got to this point then we did not crash and the test has passed.'); |
+var successfullyParsed = true; |
+</script> |
</body> |
</html> |