W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2010

Clarification of inheritance of fx, fy in gradients

From: Erik Dahlstrom <ed@opera.com>
Date: Fri, 09 Apr 2010 18:01:14 +0200
To: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Message-ID: <op.vawj4ap1geuyw5@localhost>
Hi svg-wg,

I'm wondering if we should clarify the definition of the fx and fy  
attributes[1] on the radialGradient element.

- two radial gradients, the second one inheriting values from the first
- the first gradient has cx specified to a value different from the second  
gradient's cx
- none of the gradients have fx or fy specified

Most implementations agree that the fx and fy values should not be  
inherited from the first gradient (because the values were not specified).  
Instead the fx and fy values (if not explicitly specified on the first  
gradient) should be taken from the presentational value of cx and cy on  
the second gradient.

I've added a testcase covering this case[2] and would like for someone to  
review it.

Preliminary testing:
batik1.7 PASS
Chromium PARTIAL
Inkscape FAIL



Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Friday, 9 April 2010 16:01:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:43 UTC