mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
21 lines
705 B
JavaScript
21 lines
705 B
JavaScript
/*!
|
|
{
|
|
"name": "CSS Animations",
|
|
"property": "cssanimations",
|
|
"caniuse": "css-animation",
|
|
"polyfills": ["transformie", "csssandpaper"],
|
|
"tags": ["css"],
|
|
"warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
|
|
"notes": [{
|
|
"name": "Article: 'Dispelling the Android CSS animation myths'",
|
|
"href": "https://web.archive.org/web/20180602074607/https://daneden.me/2011/12/14/putting-up-with-androids-bullshit/"
|
|
}]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
Detects whether or not elements can be animated using CSS
|
|
*/
|
|
define(['Modernizr', 'testAllProps'], function(Modernizr, testAllProps) {
|
|
Modernizr.addTest('cssanimations', testAllProps('animationName', 'a', true));
|
|
});
|