mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 1332206 - Rename effect easing tests to easing tests; r=hiro
These tests are generic enough to be used for either effect easing or keyframe easing. MozReview-Commit-ID: 5cpnkiCv0z1 --HG-- rename : testing/web-platform/tests/web-animations/resources/effect-easing-tests.js => testing/web-platform/tests/web-animations/resources/easing-tests.js extra : rebase_source : eef374243f4a03c7a1fa8f01d04bf0457177848a
This commit is contained in:
parent
a650d426c7
commit
4112f0633f
@ -61496,7 +61496,7 @@
|
||||
{}
|
||||
]
|
||||
],
|
||||
"web-animations/resources/effect-easing-tests.js": [
|
||||
"web-animations/resources/easing-tests.js": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
@ -203748,7 +203748,7 @@
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/animation-model/keyframe-effects/effect-value-transformed-distance.html": [
|
||||
"cf0631bb268ea1ba2710b10851cb92969dea1fbb",
|
||||
"c8e3b458a9bb34f0674c75318642b438d43bc530",
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/animation-model/keyframe-effects/effect-value-visibility.html": [
|
||||
@ -203836,7 +203836,7 @@
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/interfaces/AnimationEffectTiming/easing.html": [
|
||||
"e1055f83a2774e4c406b813cfb19d3ea4db83970",
|
||||
"10a1a0244e3f1ff5196a587f78e58165d5e7eeb2",
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/interfaces/AnimationEffectTiming/endDelay.html": [
|
||||
@ -203892,7 +203892,7 @@
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/interfaces/KeyframeEffect/effect-easing.html": [
|
||||
"0bdb64bdaa288b65e4a5eb9abd0d780cc5303a2d",
|
||||
"ffbcc5eca862491a2866ac46cf1b030e17100881",
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/interfaces/KeyframeEffect/getComputedTiming.html": [
|
||||
@ -203927,8 +203927,8 @@
|
||||
"ffca3a0ad5c7b08242224b80c52ebb8b9b7bfce6",
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/resources/effect-easing-tests.js": [
|
||||
"d06d30ecf22b4019162d6650b99393c19d28ecaa",
|
||||
"web-animations/resources/easing-tests.js": [
|
||||
"78fa1da90b2d65cb5bed9978b8d032e85de8d16e",
|
||||
"support"
|
||||
],
|
||||
"web-animations/resources/keyframe-utils.js": [
|
||||
@ -203976,7 +203976,7 @@
|
||||
"testharness"
|
||||
],
|
||||
"web-animations/timing-model/time-transformations/transformed-progress.html": [
|
||||
"fb4a278d34be56d5b2f07d03e30c55fd03eb1fae",
|
||||
"5d32b7e7ea13f0093d645a29ba57977b1ca289c8",
|
||||
"testharness"
|
||||
],
|
||||
"webaudio/.gitignore": [
|
||||
|
@ -5,7 +5,7 @@
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="../../testcommon.js"></script>
|
||||
<script src="../../resources/effect-easing-tests.js"></script>
|
||||
<script src="../../resources/easing-tests.js"></script>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<div id="target"></div>
|
||||
@ -15,7 +15,7 @@
|
||||
// Test that a linear-equivalent cubic-bezier easing applied to a keyframe does
|
||||
// not alter (including clamping) the result.
|
||||
|
||||
gEffectEasingTests.forEach(params => {
|
||||
gEasingTests.forEach(params => {
|
||||
const linearEquivalentEasings = [ 'cubic-bezier(0, 0, 0, 0)',
|
||||
'cubic-bezier(1, 1, 1, 1)' ];
|
||||
test(function(t) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="../../testcommon.js"></script>
|
||||
<script src="../../resources/effect-easing-tests.js"></script>
|
||||
<script src="../../resources/easing-tests.js"></script>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
@ -21,7 +21,7 @@ function assert_progress(animation, currentTime, easingFunction) {
|
||||
easingFunction(portion) + ' at ' + currentTime + 'ms');
|
||||
}
|
||||
|
||||
gEffectEasingTests.forEach(function(options) {
|
||||
gEasingTests.forEach(function(options) {
|
||||
test(function(t) {
|
||||
var target = createDiv(t);
|
||||
var anim = target.animate([ { opacity: 0 }, { opacity: 1 } ],
|
||||
|
@ -6,7 +6,7 @@
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="../../testcommon.js"></script>
|
||||
<script src="../../resources/effect-easing-tests.js"></script>
|
||||
<script src="../../resources/easing-tests.js"></script>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<div id="target"></div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
var gEffectEasingTests = [
|
||||
var gEasingTests = [
|
||||
{
|
||||
desc: 'step-start function',
|
||||
easing: 'step-start',
|
@ -5,14 +5,14 @@
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="../../testcommon.js"></script>
|
||||
<script src="../../resources/effect-easing-tests.js"></script>
|
||||
<script src="../../resources/easing-tests.js"></script>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<div id="target"></div>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
gEffectEasingTests.forEach(params => {
|
||||
gEasingTests.forEach(params => {
|
||||
test(function(t) {
|
||||
const target = createDiv(t);
|
||||
const anim = target.animate(null, { duration: 1000,
|
||||
|
Loading…
Reference in New Issue
Block a user