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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-css-rule-types.html

Issue 2974853002: Assorted small animation test moves (Closed)
Patch Set: Also rename test referring to 'players' Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698