[haiku-bugs] Re: [Haiku] #13553: Webkit: gradient drawing doesn't always work correctly

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 06 Jan 2021 20:35:58 -0000

#13553: Webkit: gradient drawing doesn't always work correctly
---------------------------+---------------------------------------
  Reporter:  accessays     |      Owner:  pulkomandy
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  Unscheduled
 Component:  Kits/Web Kit  |    Version:  R1/Development
Resolution:                |   Keywords:  gradient, web+, rendering
Blocked By:                |   Blocking:
  Platform:  x86           |
---------------------------+---------------------------------------
Comment (by madmax):

 Down in [https://drafts.csswg.org/css-images-3/#coloring-gradient-line
 section 3.4.2]:

 "Between two color stops, the gradient line’s color is interpolated
 between the colors of the two color stops, with the interpolation taking
 place in premultiplied RGBA space."

 "By default, this interpolation is linear [... except when there's a
 transition hint, in which case you do ...]"

 Also in 3.4: "UAs may “dither” gradient colors slightly [...] to effect a
 smoother gradient."
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/13553#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: