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

Unified Diff: third_party/WebKit/LayoutTests/animations/composition/offset-anchor-composition.html

Issue 2364503002: CSS Motion Path: animate offset-anchor and offset-position (Closed)
Patch Set: no interpolation to/from auto Created 4 years, 3 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/offset-position-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/offset-anchor-composition.html
diff --git a/third_party/WebKit/LayoutTests/animations/composition/object-position-composition.html b/third_party/WebKit/LayoutTests/animations/composition/offset-anchor-composition.html
similarity index 88%
copy from third_party/WebKit/LayoutTests/animations/composition/object-position-composition.html
copy to third_party/WebKit/LayoutTests/animations/composition/offset-anchor-composition.html
index d954139037fb845d31cade8ab257fd6869280da0..865d81b3c00cc6cfcd58900750b12509262bf24e 100644
--- a/third_party/WebKit/LayoutTests/animations/composition/object-position-composition.html
+++ b/third_party/WebKit/LayoutTests/animations/composition/offset-anchor-composition.html
@@ -1,9 +1,15 @@
<!DOCTYPE html>
+<style>
+.target {
+ width: 200px;
+ height: 200px;
+}
+</style>
<body>
<script src="../interpolation/resources/interpolation-test.js"></script>
<script>
assertComposition({
- property: 'object-position',
+ property: 'offset-anchor',
underlying: '40px 60px',
addFrom: '60px 40px',
addTo: '160px 140px',
@@ -18,7 +24,7 @@ assertComposition({
]);
assertComposition({
- property: 'object-position',
+ property: 'offset-anchor',
underlying: 'top 20% left 40%',
addFrom: 'left 60% top 80%',
addTo: 'right 80% bottom 40%',
@@ -33,7 +39,7 @@ assertComposition({
]);
assertComposition({
- property: 'object-position',
+ property: 'offset-anchor',
underlying: '40px 60px',
replaceFrom: '100px 200px',
addTo: '160px 40px',
@@ -48,7 +54,7 @@ assertComposition({
]);
assertComposition({
- property: 'object-position',
+ property: 'offset-anchor',
underlying: '40px 60px',
addFrom: '60px 140px',
replaceTo: '200px 100px',
@@ -60,5 +66,6 @@ assertComposition({
{at: 0.75, is: '175px 125px'},
{at: 1, is: '200px 100px'},
{at: 1.25, is: '225px 75px'},
-]);</script>
+]);
+</script>
</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/composition/offset-position-composition.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698