This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5255 - Inconsistency in default values of radial gradient center
Summary: Inconsistency in default values of radial gradient center
Status: NEW
Alias: None
Product: SVG
Classification: Unclassified
Component: Micro DOM (uDOM) (show other bugs)
Version: SVG 1.2 Tiny
Hardware: PC Windows XP
: P2 normal
Target Milestone: Test Suite
Assignee: Doug Schepers
QA Contact: SVG Public List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 14:52 UTC by Kalle Raita
Modified: 2009-06-01 06:05 UTC (History)
1 user (show)

See Also:


Attachments

Description Kalle Raita 2007-11-07 14:52:02 UTC
The uDOM and the main specification seem to be in confliect regarding the radial gradient center point (cx, cy) default values.

The main specification states in Section 11.16.2 Radial gradients for cx and cy that:
"If the attribute is not specified, the effect shall be as if a value of 0.5 were specified."

In the micro DOM specification (A.8.12 TraitAccess) the default value given for cx and cy in the table is "0.0f".

Our assumption is that the trait table is incorrect and should state that the default value depends on the type of element.
Comment 1 Cameron McCormack 2009-06-01 06:05:14 UTC
Hi Kalle.

You are correct.  It seems this issue was fixed before the spec was published as a Recommendation:

  http://www.w3.org/TR/SVGTiny12/svgudom.html#trait-table

Doug, can you mark the bug resolved?