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

Unified Diff: LayoutTests/animations/interpolation/border-image-outset-interpolation.html

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
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-image-outset-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/border-image-outset-interpolation.html
diff --git a/LayoutTests/animations/interpolation/border-image-outset-interpolation.html b/LayoutTests/animations/interpolation/border-image-outset-interpolation.html
index b573d06fe9202b57d892eaee96f49cd385f14793..232f9b0fe63387ebd9f9ee8107f458a2875d6bff 100644
--- a/LayoutTests/animations/interpolation/border-image-outset-interpolation.html
+++ b/LayoutTests/animations/interpolation/border-image-outset-interpolation.html
@@ -39,5 +39,25 @@ assertInterpolation({
{at: 1.5, is: '7.5px'},
{at: 10, is: '50px'}
]);
+assertInterpolation({
+ property: 'border-image-outset',
+ from: '0',
+ to: '5',
+}, [
+ {at: -0.3, is: '0'}, // CSS border-image-outset can't be negative.
+ {at: 0, is: '0'},
+ {at: 0.1, is: '0.5'},
+ {at: 0.2, is: '1'},
+ {at: 0.3, is: '1.5'},
+ {at: 0.4, is: '2'},
+ {at: 0.5, is: '2.5'},
+ {at: 0.6, is: '3'},
+ {at: 0.7, is: '3.5'},
+ {at: 0.8, is: '4'},
+ {at: 0.9, is: '4.5'},
+ {at: 1, is: '5'},
+ {at: 1.5, is: '7.5'},
+ {at: 10, is: '50'}
+]);
</script>
</body>
« no previous file with comments | « no previous file | LayoutTests/animations/interpolation/border-image-outset-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698