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

Unified Diff: LayoutTests/animations/interpolation/background-position-origin-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/background-position-origin-interpolation-expected.txt
diff --git a/LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt b/LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt
index 92dcad16445a072465529bc1e8c96b55295279bb..a39e857523824db52575f02f8f4c95e6061c7d1b 100644
--- a/LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt
+++ b/LayoutTests/animations/interpolation/background-position-origin-interpolation-expected.txt
@@ -1,3 +1,4 @@
+CSS Animations:
PASS: background-position from [center center] to [left 20px top 20px] was [50% 50%] at 0
PASS: background-position from [center center] to [left 20px top 20px] was [calc(37.5% + 5px) calc(37.5% + 5px)] at 0.25
PASS: background-position from [center center] to [left 20px top 20px] was [calc(25% + 10px) calc(25% + 10px)] at 0.5
@@ -44,3 +45,50 @@ PASS: background-position from [center center] to [right 20px bottom 20px] was [
PASS: background-position from [center center] to [right 20px bottom 20px] was [calc(12.5% + ((100% - 20px) * 0.75)) calc(12.5% + ((100% - 20px) * 0.75))] at 0.75
PASS: background-position from [center center] to [right 20px bottom 20px] was [calc(100% - 20px) calc(100% - 20px)] at 1
+Web Animations API:
+FAIL: backgroundPosition from [center center] to [left 20px top 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [left 20px top 20px] was [0% 0%] at 0.25, expected [calc(37.5% + 5px) calc(37.5% + 5px)]
+FAIL: backgroundPosition from [center center] to [left 20px top 20px] was [0% 0%] at 0.5, expected [calc(25% + 10px) calc(25% + 10px)]
+FAIL: backgroundPosition from [center center] to [left 20px top 20px] was [0% 0%] at 0.75, expected [calc(12.5% + 15px) calc(12.5% + 15px)]
+FAIL: backgroundPosition from [center center] to [left 20px top 20px] was [0% 0%] at 1, expected [20px 20px]
+FAIL: backgroundPosition from [center center] to [center top 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center top 20px] was [0% 0%] at 0.25, expected [50% calc(37.5% + 5px)]
+FAIL: backgroundPosition from [center center] to [center top 20px] was [0% 0%] at 0.5, expected [50% calc(25% + 10px)]
+FAIL: backgroundPosition from [center center] to [center top 20px] was [0% 0%] at 0.75, expected [50% calc(12.5% + 15px)]
+FAIL: backgroundPosition from [center center] to [center top 20px] was [0% 0%] at 1, expected [50% 20px]
+FAIL: backgroundPosition from [center center] to [right 20px top 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [right 20px top 20px] was [0% 0%] at 0.25, expected [calc(37.5% + ((100% - 20px) * 0.25)) calc(37.5% + 5px)]
+FAIL: backgroundPosition from [center center] to [right 20px top 20px] was [0% 0%] at 0.5, expected [calc(25% + ((100% - 20px) * 0.5)) calc(25% + 10px)]
+FAIL: backgroundPosition from [center center] to [right 20px top 20px] was [0% 0%] at 0.75, expected [calc(12.5% + ((100% - 20px) * 0.75)) calc(12.5% + 15px)]
+FAIL: backgroundPosition from [center center] to [right 20px top 20px] was [0% 0%] at 1, expected [calc(100% - 20px) 20px]
+FAIL: backgroundPosition from [center center] to [left 20px center] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [left 20px center] was [0% 0%] at 0.25, expected [calc(37.5% + 5px) 50%]
+FAIL: backgroundPosition from [center center] to [left 20px center] was [0% 0%] at 0.5, expected [calc(25% + 10px) 50%]
+FAIL: backgroundPosition from [center center] to [left 20px center] was [0% 0%] at 0.75, expected [calc(12.5% + 15px) 50%]
+FAIL: backgroundPosition from [center center] to [left 20px center] was [0% 0%] at 1, expected [20px 50%]
+FAIL: backgroundPosition from [center center] to [center center] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center center] was [0% 0%] at 0.25, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center center] was [0% 0%] at 0.5, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center center] was [0% 0%] at 0.75, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center center] was [0% 0%] at 1, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [right 20px center] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [right 20px center] was [0% 0%] at 0.25, expected [calc(37.5% + ((100% - 20px) * 0.25)) 50%]
+FAIL: backgroundPosition from [center center] to [right 20px center] was [0% 0%] at 0.5, expected [calc(25% + ((100% - 20px) * 0.5)) 50%]
+FAIL: backgroundPosition from [center center] to [right 20px center] was [0% 0%] at 0.75, expected [calc(12.5% + ((100% - 20px) * 0.75)) 50%]
+FAIL: backgroundPosition from [center center] to [right 20px center] was [0% 0%] at 1, expected [calc(100% - 20px) 50%]
+FAIL: backgroundPosition from [center center] to [left 20px bottom 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [left 20px bottom 20px] was [0% 0%] at 0.25, expected [calc(37.5% + 5px) calc(37.5% + ((100% - 20px) * 0.25))]
+FAIL: backgroundPosition from [center center] to [left 20px bottom 20px] was [0% 0%] at 0.5, expected [calc(25% + 10px) calc(25% + ((100% - 20px) * 0.5))]
+FAIL: backgroundPosition from [center center] to [left 20px bottom 20px] was [0% 0%] at 0.75, expected [calc(12.5% + 15px) calc(12.5% + ((100% - 20px) * 0.75))]
+FAIL: backgroundPosition from [center center] to [left 20px bottom 20px] was [0% 0%] at 1, expected [20px calc(100% - 20px)]
+FAIL: backgroundPosition from [center center] to [center bottom 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [center bottom 20px] was [0% 0%] at 0.25, expected [50% calc(37.5% + ((100% - 20px) * 0.25))]
+FAIL: backgroundPosition from [center center] to [center bottom 20px] was [0% 0%] at 0.5, expected [50% calc(25% + ((100% - 20px) * 0.5))]
+FAIL: backgroundPosition from [center center] to [center bottom 20px] was [0% 0%] at 0.75, expected [50% calc(12.5% + ((100% - 20px) * 0.75))]
+FAIL: backgroundPosition from [center center] to [center bottom 20px] was [0% 0%] at 1, expected [50% calc(100% - 20px)]
+FAIL: backgroundPosition from [center center] to [right 20px bottom 20px] was [0% 0%] at 0, expected [50% 50%]
+FAIL: backgroundPosition from [center center] to [right 20px bottom 20px] was [0% 0%] at 0.25, expected [calc(37.5% + ((100% - 20px) * 0.25)) calc(37.5% + ((100% - 20px) * 0.25))]
+FAIL: backgroundPosition from [center center] to [right 20px bottom 20px] was [0% 0%] at 0.5, expected [calc(25% + ((100% - 20px) * 0.5)) calc(25% + ((100% - 20px) * 0.5))]
+FAIL: backgroundPosition from [center center] to [right 20px bottom 20px] was [0% 0%] at 0.75, expected [calc(12.5% + ((100% - 20px) * 0.75)) calc(12.5% + ((100% - 20px) * 0.75))]
+FAIL: backgroundPosition from [center center] to [right 20px bottom 20px] was [0% 0%] at 1, expected [calc(100% - 20px) calc(100% - 20px)]
+

Powered by Google App Engine
This is Rietveld 408576698