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

Unified Diff: LayoutTests/animations/interpolation/calc-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/calc-interpolation-expected.txt
diff --git a/LayoutTests/animations/interpolation/calc-interpolation-expected.txt b/LayoutTests/animations/interpolation/calc-interpolation-expected.txt
index 3571f495c10ee08356b96e515d8e210ce7376a20..2816b164f330b9d245ee6464d874503d22fc20b9 100644
--- a/LayoutTests/animations/interpolation/calc-interpolation-expected.txt
+++ b/LayoutTests/animations/interpolation/calc-interpolation-expected.txt
@@ -1,3 +1,4 @@
+CSS Animations:
PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [-10px] at -0.25
PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [0px] at 0
PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [10px] at 0.25
@@ -27,3 +28,33 @@ PASS: text-indent from [0%] to [100px] was [calc(0% + 75px)] at 0.75
PASS: text-indent from [0%] to [100px] was [100px] at 1
PASS: text-indent from [0%] to [100px] was [calc(0% + 125px)] at 1.25
+Web Animations API:
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [-10px] at -0.25
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [0px] at 0
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [10px] at 0.25
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [20px] at 0.5
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [30px] at 0.75
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [40px] at 1
+PASS: left from [calc(50% - 25px)] to [calc(100% - 10px)] was [50px] at 1.25
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))] at -0.25
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(50% - 25px)] at 0
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))] at 0.25
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))] at 0.5
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))] at 0.75
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(100% - 10px)] at 1
+PASS: textIndent from [calc(50% - 25px)] to [calc(100% - 10px)] was [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))] at 1.25
+PASS: textIndent from [0em] to [100px] was [-25px] at -0.25
+PASS: textIndent from [0em] to [100px] was [0em] at 0
+PASS: textIndent from [0em] to [100px] was [25px] at 0.25
+PASS: textIndent from [0em] to [100px] was [50px] at 0.5
+PASS: textIndent from [0em] to [100px] was [75px] at 0.75
+PASS: textIndent from [0em] to [100px] was [100px] at 1
+PASS: textIndent from [0em] to [100px] was [125px] at 1.25
+PASS: textIndent from [0%] to [100px] was [calc(0% + -25px)] at -0.25
+PASS: textIndent from [0%] to [100px] was [0%] at 0
+PASS: textIndent from [0%] to [100px] was [calc(0% + 25px)] at 0.25
+PASS: textIndent from [0%] to [100px] was [calc(0% + 50px)] at 0.5
+PASS: textIndent from [0%] to [100px] was [calc(0% + 75px)] at 0.75
+PASS: textIndent from [0%] to [100px] was [100px] at 1
+PASS: textIndent from [0%] to [100px] was [calc(0% + 125px)] at 1.25
+

Powered by Google App Engine
This is Rietveld 408576698