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

Unified Diff: LayoutTests/animations/interpolation/object-position-interpolation-expected.txt

Issue 203723005: Web Animations API: Update interpolation test harness to test element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and added rounding to numbers that get displayed Created 6 years, 9 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/interpolation/object-position-interpolation-expected.txt
diff --git a/LayoutTests/animations/interpolation/object-position-interpolation-expected.txt b/LayoutTests/animations/interpolation/object-position-interpolation-expected.txt
index 2c83ab1ca0f19205fe4fbdcbe662e654d8cfa31f..2b20b59170431c569105408dd0f8a4e1ec8e57cd 100644
--- a/LayoutTests/animations/interpolation/object-position-interpolation-expected.txt
+++ b/LayoutTests/animations/interpolation/object-position-interpolation-expected.txt
@@ -1,3 +1,4 @@
+CSS Animations:
PASS: object-position from [50% 50%] to [100% 100%] was [35% 35%] at -0.3
PASS: object-position from [50% 50%] to [100% 100%] was [50% 50%] at 0
PASS: object-position from [50% 50%] to [100% 100%] was [75% 75%] at 0.5
@@ -24,3 +25,30 @@ PASS: object-position from [center] to [top right] was [75% 25%] at 0.5
PASS: object-position from [center] to [top right] was [100% 0%] at 1
PASS: object-position from [center] to [top right] was [125% -25%] at 1.5
+Web Animations API:
+PASS: objectPosition from [50% 50%] to [100% 100%] was [35% 35%] at -0.3
+PASS: objectPosition from [50% 50%] to [100% 100%] was [50% 50%] at 0
+PASS: objectPosition from [50% 50%] to [100% 100%] was [75% 75%] at 0.5
+PASS: objectPosition from [50% 50%] to [100% 100%] was [100% 100%] at 1
+PASS: objectPosition from [50% 50%] to [100% 100%] was [125% 125%] at 1.5
+PASS: objectPosition from [100px 200px] to [0px 0px] was [130px 260px] at -0.3
+PASS: objectPosition from [100px 200px] to [0px 0px] was [100px 200px] at 0
+PASS: objectPosition from [100px 200px] to [0px 0px] was [50px 100px] at 0.5
+PASS: objectPosition from [100px 200px] to [0px 0px] was [0px 0px] at 1
+PASS: objectPosition from [100px 200px] to [0px 0px] was [-50px -100px] at 1.5
+PASS: objectPosition from [50% 100%] to [0px 0px] was [65% 130%] at -0.3
+PASS: objectPosition from [50% 100%] to [0px 0px] was [50% 100%] at 0
+PASS: objectPosition from [50% 100%] to [0px 0px] was [25% 50%] at 0.5
+PASS: objectPosition from [50% 100%] to [0px 0px] was [0px 0px] at 1
+PASS: objectPosition from [50% 100%] to [0px 0px] was [-25% -50%] at 1.5
+PASS: objectPosition from [50% 100%] to [50px 100px] was [calc(65% + -15px) calc(130% + -30px)] at -0.3
+PASS: objectPosition from [50% 100%] to [50px 100px] was [50% 100%] at 0
+PASS: objectPosition from [50% 100%] to [50px 100px] was [calc(25% + 25px) calc(50% + 50px)] at 0.5
+PASS: objectPosition from [50% 100%] to [50px 100px] was [50px 100px] at 1
+PASS: objectPosition from [50% 100%] to [50px 100px] was [calc(-25% + 75px) calc(-50% + 150px)] at 1.5
+PASS: objectPosition from [center] to [top right] was [35% 65%] at -0.3
+PASS: objectPosition from [center] to [top right] was [50% 50%] at 0
+PASS: objectPosition from [center] to [top right] was [75% 25%] at 0.5
+PASS: objectPosition from [center] to [top right] was [100% 0%] at 1
+PASS: objectPosition from [center] to [top right] was [125% -25%] at 1.5
+

Powered by Google App Engine
This is Rietveld 408576698