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

Unified Diff: third_party/WebKit/LayoutTests/animations/composition/border-bottom-left-radius-composition.html

Issue 1682843003: Add additive animation support for border-radius CSS properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_positionInterpolation
Patch Set: Rebased Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/composition/border-bottom-right-radius-composition.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/composition/border-bottom-left-radius-composition.html
diff --git a/third_party/WebKit/LayoutTests/animations/composition/border-bottom-left-radius-composition.html b/third_party/WebKit/LayoutTests/animations/composition/border-bottom-left-radius-composition.html
new file mode 100644
index 0000000000000000000000000000000000000000..57a9ecc9c272fc3fc603b2836fa826851e362e09
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/animations/composition/border-bottom-left-radius-composition.html
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<body>
+<script src="../interpolation/resources/interpolation-test.js"></script>
+<script>
+assertComposition({
+ property: 'border-bottom-left-radius',
+ underlying: '40px 40px',
+ addFrom: '60px 60px',
+ addTo: '160px 160px',
+}, [
+ {at: -0.25, is: '75px'},
+ {at: 0, is: '100px'},
+ {at: 0.25, is: '125px'},
+ {at: 0.5, is: '150px'},
+ {at: 0.75, is: '175px'},
+ {at: 1, is: '200px'},
+ {at: 1.25, is: '225px'},
+]);
+
+assertComposition({
+ property: 'border-bottom-left-radius',
+ underlying: '40px 140px',
+ replaceFrom: '100px 120px',
+ addTo: '160px 60px',
+}, [
+ {at: -0.25, is: '75px 100px'},
+ {at: 0, is: '100px 120px'},
+ {at: 0.25, is: '125px 140px'},
+ {at: 0.5, is: '150px 160px'},
+ {at: 0.75, is: '175px 180px'},
+ {at: 1, is: '200px'},
+ {at: 1.25, is: '225px 220px'},
+]);
+
+assertComposition({
+ property: 'border-bottom-left-radius',
+ underlying: '40px 60px',
+ addFrom: '60px 140px',
+ replaceTo: '200px 120px',
+}, [
+ {at: -0.25, is: '75px 220px'},
+ {at: 0, is: '100px 200px'},
+ {at: 0.25, is: '125px 180px'},
+ {at: 0.5, is: '150px 160px'},
+ {at: 0.75, is: '175px 140px'},
+ {at: 1, is: '200px 120px'},
+ {at: 1.25, is: '225px 100px'},
+]);
+</script>
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/composition/border-bottom-right-radius-composition.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698