Rebased: Handle invalid timing function params
Merge pull request #6922 from SAPlayer/inline-timing-function-invalid-params

Rebased: Handle invalid timing function params