improved gradient browser support
Merge pull request #1921 from romansklenar/pull/gradients

improved gradient browser support