The gradients are visually the same, but not bit-for-bit equivalent.
<rdar://problem/20013711>
According to the flakiness dashboard, the test fails on Mavericks too: http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=svg%2Ftransforms%2Ftransformed-text-fill-gradient.html