Clarification of inheritance of fx, fy in gradients

Hi svg-wg,

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

Scenario:
- 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
Opera PARTIAL
Firefox PARTIAL
Inkscape FAIL

Cheers
/Erik

[1]  
http://dev.w3.org/SVG/profiles/1.1F2/publish/pservers.html#RadialGradientElementFXAttribute
[2]  
http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObject/pservers-grad-21-b.html

-- 
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