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

Unified Diff: third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 8 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: third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html b/third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html
deleted file mode 100644
index 8f3439abb7906c018c31639e7451faafeecdeb63..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/interpolation/offset-rotation-interpolation.html
+++ /dev/null
@@ -1,132 +0,0 @@
-<!DOCTYPE html>
-<meta charset="UTF-8">
-<style>
-.parent {
- offset-rotation: 30deg;
-}
-.target {
- width: 80px;
- height: 80px;
- display: inline-block;
- background-color: black;
- margin-right: 5px;
- offset-rotation: 10deg;
-}
-.expected {
- background-color: green;
- margin-right: 15px;
-}
-</style>
-<body>
-<script src="resources/interpolation-test.js"></script>
-<script>
-assertInterpolation({
- property: 'offset-rotation',
- from: neutralKeyframe,
- to: '20deg',
-}, [
- {at: -0.3, is: '7deg'},
- {at: 0, is: '10deg'},
- {at: 0.3, is: '13deg'},
- {at: 0.6, is: '16deg'},
- {at: 1, is: '20deg'},
- {at: 1.5, is: '25deg'},
-]);
-
-assertNoInterpolation({
- property: 'offset-rotation',
- from: 'initial',
- to: '20deg',
-});
-
-assertInterpolation({
- property: 'offset-rotation',
- from: 'inherit',
- to: '20deg',
-}, [
- {at: -0.3, is: '33deg'},
- {at: 0, is: '30deg'},
- {at: 0.3, is: '27deg'},
- {at: 0.6, is: '24deg'},
- {at: 1, is: '20deg'},
- {at: 1.5, is: '15deg'},
-]);
-
-assertNoInterpolation({
- property: 'offset-rotation',
- from: 'unset',
- to: '20deg',
-});
-
-assertInterpolation({
- property: 'offset-rotation',
- from: '10deg',
- to: '50deg'
-}, [
- {at: -0.3, is: '-2deg'},
- {at: 0, is: '10deg'},
- {at: 0.3, is: '22deg'},
- {at: 0.6, is: '34deg'},
- {at: 1, is: '50deg'},
- {at: 1.5, is: '70deg'},
-]);
-assertInterpolation({
- property: 'offset-rotation',
- from: 'auto 10deg',
- to: 'auto 50deg'
-}, [
- {at: -0.3, is: 'auto -2deg'},
- {at: 0, is: 'auto 10deg'},
- {at: 0.3, is: 'auto 22deg'},
- {at: 0.6, is: 'auto 34deg'},
- {at: 1, is: 'auto 50deg'},
- {at: 1.5, is: 'auto 70deg'},
-]);
-assertInterpolation({
- property: 'offset-rotation',
- from: 'reverse -170deg',
- to: 'reverse -130deg'
-}, [
- {at: -0.3, is: 'auto -2deg'},
- {at: 0, is: 'auto 10deg'},
- {at: 0.3, is: 'auto 22deg'},
- {at: 0.6, is: 'auto 34deg'},
- {at: 1, is: 'auto 50deg'},
- {at: 1.5, is: 'auto 70deg'},
-]);
-assertInterpolation({
- property: 'offset-rotation',
- from: 'auto 10deg',
- to: 'reverse -130deg'
-}, [
- {at: -0.3, is: 'auto -2deg'},
- {at: 0, is: 'auto 10deg'},
- {at: 0.3, is: 'auto 22deg'},
- {at: 0.6, is: 'auto 34deg'},
- {at: 1, is: 'auto 50deg'},
- {at: 1.5, is: 'auto 70deg'},
-]);
-assertInterpolation({
- property: 'offset-rotation',
- from: 'reverse -170deg',
- to: 'auto 50deg'
-}, [
- {at: -0.3, is: 'auto -2deg'},
- {at: 0, is: 'auto 10deg'},
- {at: 0.3, is: 'auto 22deg'},
- {at: 0.6, is: 'auto 34deg'},
- {at: 1, is: 'auto 50deg'},
- {at: 1.5, is: 'auto 70deg'},
-]);
-assertNoInterpolation({
- property: 'offset-rotation',
- from: 'auto 200deg',
- to: '300deg'
-});
-assertNoInterpolation({
- property: 'offset-rotation',
- from: '300deg',
- to: 'reverse 20deg'
-});
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698