I would like to use feature detection to tell whether the user's version of Firefox supports the CSS style value -moz-linear-gradient
. (This was added in Gecko 1.9.2. Version 3.6 of Firefox uses this.)
I can't use document.body.style.mozLinearGradient
(or something similar) because -moz-linear-gradient
is not a style property but a style value.
Does anyone know how to test for this without using version numbers?