W3C home > Mailing lists > Public > public-svg-issues@w3.org > March 2019

Re: [svgwg] Radial gradients: "fully overlapping" vs "focal point on the edge" - which takes precedence? (#648)

From: Tavmjong via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Mar 2019 15:57:40 +0000
To: public-svg-issues@w3.org
Message-ID: <issue_comment.created-472485526-1552492658-sysbot+gh@w3.org>
A similar situation would be for a linear gradient if x1=x2 and y1=y2. In this case:
  Firefox shows the last stop color, Chrome shows the first stop color. Inkscape shows the average of the first and last stop colors.
The SVG 2 spec says:
   _If ‘x1’ = ‘x2’ and ‘y1’ = ‘y2’, then the area to be painted will be painted as a single color using the color and opacity of the last gradient stop._
I would expect a similar rule to apply for radial gradients, thus I would expect the example to show yellow (the last stop color).

GitHub Notification of comment by Tavmjong
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/648#issuecomment-472485526 using your GitHub account
Received on Wednesday, 13 March 2019 15:57:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 13 March 2019 15:57:43 UTC