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

Unified Diff: LayoutTests/fast/css-generated-content/pseudo-animation.html

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add new tests. Created 7 years, 8 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/fast/css-generated-content/pseudo-animation.html
diff --git a/LayoutTests/fast/css-generated-content/pseudo-animation.html b/LayoutTests/fast/css-generated-content/pseudo-animation.html
index 9cf3ef972ae6ecf5559571c404e809a0fd2839db..1bfeb1e63bef27b48823d5b60db51de451375faa 100644
--- a/LayoutTests/fast/css-generated-content/pseudo-animation.html
+++ b/LayoutTests/fast/css-generated-content/pseudo-animation.html
@@ -85,11 +85,11 @@ function testAnimation(id)
window.div = div;
shouldBe('div.offsetWidth', '52');
if (window.internals) {
- internals.pauseAnimationAtTimeOnPseudoElement('example', 1.0, div, id);
+ internals.pauseAnimations(1);
shouldBeCloseTo('div.offsetWidth', 20, 1);
computedTop = getPseudoComputedTop(id);
shouldBeCloseTo('computedTop', 170, 1);
- internals.pauseAnimationAtTimeOnPseudoElement('example', 2.0, div, id);
+ internals.pauseAnimations(2);
shouldBeCloseTo('div.offsetWidth', 12, 1);
computedTop = getPseudoComputedTop(id);
shouldBeCloseTo('computedTop', 200, 1);

Powered by Google App Engine
This is Rietveld 408576698