Animation tag with w3c validator error as default values

From w3schools:

Animation Shorthand Property

The example below uses six of the animation properties:
Example

div {
    animation-name: example;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-delay: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

The same animation effect as above can be achieved by using the shorthand animation property:
Example

div {
    animation: example 5s linear 2s infinite alternate;
} 

https://www.w3schools.com/css/css3_animations.asp

You seem to have 8 listed.