mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1
This commit is contained in:
parent
2f8fa32e91
commit
db5631a086
381 changed files with 11610 additions and 4232 deletions
|
@ -0,0 +1,46 @@
|
|||
'use strict';
|
||||
|
||||
// =================================
|
||||
//
|
||||
// Common timing parameter test data
|
||||
//
|
||||
// =================================
|
||||
|
||||
|
||||
// ------------------------------
|
||||
// Delay values
|
||||
// ------------------------------
|
||||
|
||||
const gBadDelayValues = [
|
||||
NaN, Infinity, -Infinity
|
||||
];
|
||||
|
||||
// ------------------------------
|
||||
// Duration values
|
||||
// ------------------------------
|
||||
|
||||
const gGoodDurationValues = [
|
||||
{ specified: 123.45, computed: 123.45 },
|
||||
{ specified: 'auto', computed: 0 },
|
||||
{ specified: Infinity, computed: Infinity },
|
||||
];
|
||||
|
||||
const gBadDurationValues = [
|
||||
-1, NaN, -Infinity, 'abc', '100'
|
||||
];
|
||||
|
||||
// ------------------------------
|
||||
// iterationStart values
|
||||
// ------------------------------
|
||||
|
||||
const gBadIterationStartValues = [
|
||||
-1, NaN, Infinity, -Infinity
|
||||
];
|
||||
|
||||
// ------------------------------
|
||||
// iterations values
|
||||
// ------------------------------
|
||||
|
||||
const gBadIterationsValues = [
|
||||
-1, -Infinity, NaN
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue