Summary: | Color stops are not sorted stably on Windows | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | bdakin | ||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Attachments: |
|
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. |
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.