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

Unified Diff: LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt

Issue 54123007: Web Animations CSS: Fix clamping to non-negative values for BorderImageLength (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix bug with clampTo() Created 7 years, 1 month 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/border-image-width-interpolation-expected.txt
diff --git a/LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt b/LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt
index a12c356bfc53eb2f295e56cb4e3956716f6b9d0c..2ebb7d0a6e0cd888cd97f456d9d6d7fdf5cf7e1b 100644
--- a/LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt
+++ b/LayoutTests/animations/interpolation/border-image-width-interpolation-expected.txt
@@ -6,4 +6,64 @@ PASS: border-image-width from [0px] to [20px] was [20px] at 1
PASS: border-image-width from [0px] to [20px] was [30px] at 1.5
PASS: border-image-width from [0px] to [20px] was [100px] at 5
PASS: border-image-width from [0px] to [20px] was [200px] at 10
+FAIL: border-image-width from [0%] to [20%] was [-6%] at -0.3, expected [0%]
+PASS: border-image-width from [0%] to [20%] was [0%] at 0
+PASS: border-image-width from [0%] to [20%] was [6%] at 0.3
+PASS: border-image-width from [0%] to [20%] was [12%] at 0.6
+PASS: border-image-width from [0%] to [20%] was [20%] at 1
+PASS: border-image-width from [0%] to [20%] was [30%] at 1.5
+PASS: border-image-width from [0%] to [20%] was [100%] at 5
+PASS: border-image-width from [0%] to [20%] was [200%] at 10
+FAIL: border-image-width from [0] to [20] was [-5.999999999999998] at -0.3, expected [0]
+PASS: border-image-width from [0] to [20] was [0] at 0
+PASS: border-image-width from [0] to [20] was [6] at 0.3
+PASS: border-image-width from [0] to [20] was [12] at 0.6
+PASS: border-image-width from [0] to [20] was [20] at 1
+PASS: border-image-width from [0] to [20] was [30] at 1.5
+PASS: border-image-width from [0] to [20] was [100] at 5
+PASS: border-image-width from [0] to [20] was [200] at 10
+FAIL: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [-11px 5% 21 37px] at -0.3, expected [0px 5% 21 37px] (parsed as [0px 5% 21 37px])
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [10px 20% 30 40px] at 0
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [31px 35% 39 43px] at 0.3
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [52px 50% 48 46px] at 0.6
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [80px 70% 60 50px] at 1
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [115px 95% 75 55px] at 1.5
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [360px 270% 180 90px] at 5
+PASS: border-image-width from [10px 20% 30 40px] to [80px 70% 60 50px] was [710px 520% 330 140px] at 10
+FAIL: border-image-width from [10%] to [20px] was [calc((10% * 1.300000011920929) + (20px * -0.30000001192092896))] at -0.3, expected [calc(13% + -6px)] (parsed as [7px])
+PASS: border-image-width from [10%] to [20px] was [10%] at 0
+FAIL: border-image-width from [10%] to [20px] was [calc((10% * 0.699999988079071) + (20px * 0.30000001192092896))] at 0.3, expected [calc(7% + 6px)] (parsed as [13px])
+FAIL: border-image-width from [10%] to [20px] was [calc((10% * 0.3999999761581421) + (20px * 0.6000000238418579))] at 0.6, expected [calc(4% + 12px)] (parsed as [16px])
+PASS: border-image-width from [10%] to [20px] was [20px] at 1
+FAIL: border-image-width from [10%] to [20px] was [calc((10% * -0.5) + (20px * 1.5))] at 1.5, expected [calc(-5% + 30px)] (parsed as [25px])
+FAIL: border-image-width from [10px] to [20%] was [calc((10px * 1.300000011920929) + (20% * -0.30000001192092896))] at -0.3, expected [calc(13px + -6%)] (parsed as [7px])
+PASS: border-image-width from [10px] to [20%] was [10px] at 0
+FAIL: border-image-width from [10px] to [20%] was [calc((10px * 0.699999988079071) + (20% * 0.30000001192092896))] at 0.3, expected [calc(7px + 6%)] (parsed as [13px])
+FAIL: border-image-width from [10px] to [20%] was [calc((10px * 0.3999999761581421) + (20% * 0.6000000238418579))] at 0.6, expected [calc(4px + 12%)] (parsed as [16px])
+PASS: border-image-width from [10px] to [20%] was [20%] at 1
+FAIL: border-image-width from [10px] to [20%] was [calc((10px * -0.5) + (20% * 1.5))] at 1.5, expected [calc(-5px + 30%)] (parsed as [25px])
+FAIL: border-image-width from [10px] to [20] was [20] at -0.3, expected [10px]
+FAIL: border-image-width from [10px] to [20] was [20] at 0, expected [10px]
+FAIL: border-image-width from [10px] to [20] was [20] at 0.3, expected [10px]
+PASS: border-image-width from [10px] to [20] was [20] at 0.6
+PASS: border-image-width from [10px] to [20] was [20] at 1
+PASS: border-image-width from [10px] to [20] was [20] at 1.5
+FAIL: border-image-width from [10] to [20px] was [20px] at -0.3, expected [10]
+FAIL: border-image-width from [10] to [20px] was [20px] at 0, expected [10]
+FAIL: border-image-width from [10] to [20px] was [20px] at 0.3, expected [10]
+PASS: border-image-width from [10] to [20px] was [20px] at 0.6
+PASS: border-image-width from [10] to [20px] was [20px] at 1
+PASS: border-image-width from [10] to [20px] was [20px] at 1.5
+FAIL: border-image-width from [10%] to [20] was [20] at -0.3, expected [10%]
+FAIL: border-image-width from [10%] to [20] was [20] at 0, expected [10%]
+FAIL: border-image-width from [10%] to [20] was [20] at 0.3, expected [10%]
+PASS: border-image-width from [10%] to [20] was [20] at 0.6
+PASS: border-image-width from [10%] to [20] was [20] at 1
+PASS: border-image-width from [10%] to [20] was [20] at 1.5
+FAIL: border-image-width from [10] to [20%] was [20%] at -0.3, expected [10]
+FAIL: border-image-width from [10] to [20%] was [20%] at 0, expected [10]
+FAIL: border-image-width from [10] to [20%] was [20%] at 0.3, expected [10]
+PASS: border-image-width from [10] to [20%] was [20%] at 0.6
+PASS: border-image-width from [10] to [20%] was [20%] at 1
+PASS: border-image-width from [10] to [20%] was [20%] at 1.5

Powered by Google App Engine
This is Rietveld 408576698