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

Unified Diff: LayoutTests/animations/keyframes-cssom-unprefixed-02.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/animations/keyframes-cssom-unprefixed-02.html
diff --git a/LayoutTests/animations/keyframes-cssom-unprefixed-02.html b/LayoutTests/animations/keyframes-cssom-unprefixed-02.html
index aebf939f0afb768241d0fd3cbbcb3e2633b4b279..6b8c1113f3ef6f3d3815187211a1ea27a61efb65 100644
--- a/LayoutTests/animations/keyframes-cssom-unprefixed-02.html
+++ b/LayoutTests/animations/keyframes-cssom-unprefixed-02.html
@@ -38,7 +38,7 @@ shouldBeEqualToString("keyframeRule.findRule('from').cssText", "0% { left: 200px
shouldBeEqualToString("keyframeRule.findRule('to').cssText", "100% { left: 300px; }");
keyframeRule.deleteRule("from");
shouldBeNull("keyframeRule.findRule('from')");
-keyframeRule.insertRule("from { left: 200px; }");
+keyframeRule.appendRule("from { left: 200px; }");
shouldBeEqualToString("keyframeRule.findRule('from').cssText", "0% { left: 200px; }");
shouldBeEqualToString("keyframeRule.cssRules[0].toString()", "[object CSSKeyframeRule]");
shouldBeEqualToString("keyframeRule.cssRules[0].cssText", "100% { left: 300px; }");

Powered by Google App Engine
This is Rietveld 408576698