Added regression test case, that checks if the an style is rendering correctly when the gradient is calculated on the fly