[Webkit-unassigned] [Bug 14320] New: <canvas> gradient stops at identical offsets are applied in the wrong order

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 22 15:53:28 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14320

           Summary: <canvas> gradient stops at identical offsets are applied
                    in the wrong order
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pamg.bugs at gmail.com


According to the spec, stops in linear gradients should be applied in the order
in which they are given.  If more than one stop is given at the same offset,
all but the first and last are irrelevant.

Safari on Windows applies the stops in the wrong order.  This is probably
because the stability -- whether identical elements are kept in the same order
-- of qsort (used in WebCore/html/CanvasGradient.cpp) isn't defined, and it's
different from one compiler (on Mac) to another (on Windows).

Simplified test case to follow.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list