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

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

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 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/fast/css-generated-content/pseudo-transition.html
diff --git a/LayoutTests/fast/css-generated-content/pseudo-transition.html b/LayoutTests/fast/css-generated-content/pseudo-transition.html
index 3acf7865e9853bf6eae3008300b98f34947cd649..67fa95216843f8ac583b6009b9bf0a81d1533957 100644
--- a/LayoutTests/fast/css-generated-content/pseudo-transition.html
+++ b/LayoutTests/fast/css-generated-content/pseudo-transition.html
@@ -60,14 +60,12 @@ function testTransition(id)
window.div = div;
shouldBe('div.offsetWidth', '52');
if (window.internals) {
- internals.pauseTransitionAtTimeOnPseudoElement('width', 1.0, div, id);
+ internals.pauseAnimations(1);
shouldBeCloseTo('div.offsetWidth', 20, 1);
- internals.pauseTransitionAtTimeOnPseudoElement('top', 1.0, div, id);
computedTop = getPseudoComputedTop(id);
shouldBeCloseTo('computedTop', 170, 1);
- internals.pauseTransitionAtTimeOnPseudoElement('width', 2.0, div, id);
+ internals.pauseAnimations(2);
shouldBeCloseTo('div.offsetWidth', 12, 1);
- internals.pauseTransitionAtTimeOnPseudoElement('top', 2.0, div, id);
computedTop = getPseudoComputedTop(id);
shouldBeCloseTo('computedTop', 200, 1);
} else {

Powered by Google App Engine
This is Rietveld 408576698