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

Unified Diff: third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation.html

Issue 2649103008: Revert of Add smooth interpolation support for <color> custom properties (Closed)
Patch Set: Created 3 years, 11 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/custom-properties/color-type-interpolation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation.html b/third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation.html
deleted file mode 100644
index 5d609225858cb5b361aed764dc66ff119bc57b9f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation.html
+++ /dev/null
@@ -1,125 +0,0 @@
-<!DOCTYPE html>
-<meta charset="UTF-8">
-<style>
-.parent {
- --color: blue;
-}
-.target {
- --color: yellow;
- color: lime;
-}
-</style>
-<body alink="red" link="blue">
-<script src="../interpolation/resources/interpolation-test.js"></script>
-<script>
-CSS.registerProperty({
- name: '--color',
- syntax: '<color>',
- initialValue: 'black',
-});
-
-assertInterpolation({
- property: '--color',
- from: neutralKeyframe,
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(255, 255, 0)'},
- {at: 0, is: 'rgb(255, 255, 0)'},
- {at: 0.3, is: 'rgb(179, 217, 0)'},
- {at: 0.6, is: 'rgb(102, 179, 0)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 65, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: 'initial',
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 0)'},
- {at: 0, is: 'rgb(0, 0, 0)'},
- {at: 0.3, is: 'rgb(0, 38, 0)'},
- {at: 0.6, is: 'rgb(0, 77, 0)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 192, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: 'inherit',
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 255)'},
- {at: 0, is: 'rgb(0, 0, 255)'},
- {at: 0.3, is: 'rgb(0, 38, 179)'},
- {at: 0.6, is: 'rgb(0, 77, 102)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 192, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: 'unset',
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 0)'},
- {at: 0, is: 'rgb(0, 0, 0)'},
- {at: 0.3, is: 'rgb(0, 38, 0)'},
- {at: 0.6, is: 'rgb(0, 77, 0)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 192, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: 'black',
- to: 'orange',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 0)'},
- {at: 0, is: 'rgb(0, 0, 0)'},
- {at: 0.3, is: 'rgb(77, 50, 0)'},
- {at: 0.6, is: 'rgb(153, 99, 0)'},
- {at: 1, is: 'rgb(255, 165, 0)'},
- {at: 1.5, is: 'rgb(255, 248, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: 'black',
- to: 'currentcolor',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 0)'},
- {at: 0, is: 'rgb(0, 0, 0)'},
- {at: 0.3, is: 'rgb(0, 77, 0)'},
- {at: 0.6, is: 'rgb(0, 153, 0)'},
- {at: 1, is: 'rgb(0, 255, 0)'},
- {at: 1.5, is: 'rgb(0, 255, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: '-webkit-activelink',
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(255, 0, 0)'},
- {at: 0, is: 'rgb(255, 0, 0)'},
- {at: 0.3, is: 'rgb(179, 38, 0)'},
- {at: 0.6, is: 'rgb(102, 77, 0)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 192, 0)'},
-]);
-
-assertInterpolation({
- property: '--color',
- from: '-webkit-link',
- to: 'green',
-}, [
- {at: -0.3, is: 'rgb(0, 0, 255)'},
- {at: 0, is: 'rgb(0, 0, 255)'},
- {at: 0.3, is: 'rgb(0, 38, 179)'},
- {at: 0.6, is: 'rgb(0, 77, 102)'},
- {at: 1, is: 'rgb(0, 128, 0)'},
- {at: 1.5, is: 'rgb(0, 192, 0)'},
-]);
-</script>
-</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/custom-properties/color-type-interpolation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698