Created attachment 49490 [details] testcase To reproduce: 1. Load the attached testcase Note that the "Actual" and "Expected" images are not identical. On Mac, they are identical.
<rdar://problem/7689753>
It looks like WebCore is sorting the stops correctly. Debugging shows that CG is using qsort() to sort the stops we pass it. qsort() is not stable. I've filed the CG bug as <rdar://problem/7689763>. This bug can be used to represent finding a workaround in WebCore.