Given a string passed to a JavaScript function:
background-image: -moz-linear-gradient(bottom, #F8F8F8, #FDFDFD) !important;
...can a function return an object with all supported gradient CSS values.
Note that if a linear gradient is passed, linear gradients should return, as with radial and non-specific.
Code must also come with tests.