FLUID-5482: Improved the utils function for browser support on linear-gradient.