Bug 35386 - Color stops are not sorted stably on Windows
Summary: Color stops are not sorted stably on Windows
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2010-02-25 08:24 PST by Adam Roben (:aroben)
Modified: 2010-05-10 09:19 PDT (History)
1 user (show)

See Also:


Attachments
testcase (442 bytes, text/html)
2010-02-25 08:24 PST, Adam Roben (:aroben)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2010-02-25 08:24:50 PST
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.
Comment 1 Adam Roben (:aroben) 2010-02-25 08:25:27 PST
<rdar://problem/7689753>
Comment 2 Adam Roben (:aroben) 2010-02-25 08:27:57 PST
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.