Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0

This commit is contained in:
Ms2ger 2016-09-09 09:40:35 +02:00
parent 1d40075f03
commit 079092dfea
2381 changed files with 90360 additions and 17722 deletions

View file

@ -1,13 +1,42 @@
var gEffectEasingTests = [
{
desc: 'steps(start) function',
desc: 'step-start function',
easing: 'step-start',
easingFunction: stepStart(1),
serialization: 'steps(1, start)'
},
{
desc: 'steps(1, start) function',
easing: 'steps(1, start)',
easingFunction: stepStart(1)
},
{
desc: 'steps(2, start) function',
easing: 'steps(2, start)',
easingFunction: stepStart(2)
},
{
desc: 'steps(end) function',
desc: 'step-end function',
easing: 'step-end',
easingFunction: stepEnd(1),
serialization: 'steps(1)'
},
{
desc: 'steps(1) function',
easing: 'steps(1)',
easingFunction: stepEnd(1)
},
{
desc: 'steps(1, end) function',
easing: 'steps(1, end)',
easingFunction: stepEnd(1),
serialization: 'steps(1)'
},
{
desc: 'steps(2, end) function',
easing: 'steps(2, end)',
easingFunction: stepEnd(2)
easingFunction: stepEnd(2),
serialization: 'steps(2)'
},
{
desc: 'linear function',
@ -40,3 +69,30 @@ var gEffectEasingTests = [
easingFunction: cubicBezier(0, 1.5, 1, 1.5)
}
];
var gInvalidEasingTests = [
{
easing: ''
},
{
easing: 'test'
},
{
easing: 'cubic-bezier(1.1, 0, 1, 1)'
},
{
easing: 'cubic-bezier(0, 0, 1.1, 1)'
},
{
easing: 'cubic-bezier(-0.1, 0, 1, 1)'
},
{
easing: 'cubic-bezier(0, 0, -0.1, 1)'
},
{
easing: 'steps(-1, start)'
},
{
easing: 'steps(0.1, start)'
},
];