[Webkit-unassigned] [Bug 6103] Rectangles are not filled according to the Web Applications Working Draft

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Dec 15 16:05:29 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6103





------- Additional Comments From david.carson at nokia.com  2005-12-15 16:05 -------
Although, with the change specified below applied, it does not produce the right
gradient. It seems that when the color stops are sorted using the qsort
algorithm, the order of the colorstops become:
  lingrad.addColorStop(0, '#00ABEB');
  lingrad.addColorStop(0.5, '#66CC00');
  lingrad.addColorStop(0.5, '#fff');
  lingrad.addColorStop(1, '#fff'); 
(This might be because the way qsort works when the comparison values are
equal.) This results in a gradient from blue to green for the first 50% of the
rectangle and a white area (ie white to white gradient) for the second 50% of
the rectangle.

-- 
Configure bugmail: http://bugzilla.opendarwin.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