Fix minor TimingFunction validation issue

This fixes a rather uncommon issue in TimingFunction validation. Steps:
1. Try to open an Inline Editor on `animation-timing-function: cubic-bezier(0, 0, 0, 0,)` (notice the trailing comma)

Result: Console error, no inline editor
Expected: Inline editor should auto-correct the invalid function
Yay! Unit test!