[Webkit-unassigned] [Bug 14442] New: Adding a stop with value 1.0 to a gradient that has already been used has no effect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 27 22:14:59 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14442
Summary: Adding a stop with value 1.0 to a gradient that has
already been used has no effect
Product: WebKit
Version: 522+ (nightly)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aroben at apple.com
Adding a stop with value 1.0 to a gradient that has already been used has no
effect. This is because CanvasGradient::findStop
(http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/html/CanvasGradient.cpp#L164)
adds stops with values 0.0 and 1.0 to the gradient if they aren't already
present. A stop added with a value of 1.0 after findStep has been called will
have no effect because it will be sorted after the one findStop added.
--
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