| 1 | let Declaration = require('../declaration') |
| 2 | |
| 3 | class Animation extends Declaration { |
| 4 | /** |
| 5 | * Don’t add prefixes for modern values. |
| 6 | */ |
| 7 | check(decl) { |
| 8 | return !decl.value.split(/\s+/).some(i => { |
| 9 | let lower = i.toLowerCase() |
| 10 | return lower === 'reverse' || lower === 'alternate-reverse' |
| 11 | }) |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | Animation.names = ['animation', 'animation-direction'] |
| 16 | |
| 17 | module.exports = Animation |