Bug 313646 SVG chart using pattern as color or background does not work when preview in firefox for the first time.[13]
description: SVG chart using pattern as color or background does not work when preview in firefox for the first time. build id: 2.6.0 v20100520-0630 steps to reproduce: 1.New a SVG chart using pattern as color or background color. 2.Preview in firefox. Actual result: The pattern does not work when you first preview in firefox.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
/**
 * This class provides the graphic context to draw primitive svg drawing
 * elements such as lines, rectangles, polygons, etc.
 */
public class SVGGraphics2D extends ChartGraphics2D
{
	protected Document dom;
	protected Paint paint;
	protected Color color;
	protected Font font;
	protected Shape clip;
	protected Stroke stroke;
	protected Color background;
	protected Element currentElement;
	protected Stack<Element> parentStack = new Stack<Element>( );
	protected Element currentParent;
	protected FontRenderContext fontRenderContext;
	protected AffineTransform transforms;
	protected List<SVGGradientPaint> paints = new ArrayList<SVGGradientPaint>( );
	protected Set<TexturePaint> textures = new HashSet<TexturePaint>( );
	protected Element definitions;
	protected Element styles;
	protected Element codeScript;
	protected String styleClass;
	protected String id;
	protected StringBuffer scriptBuffer = new StringBuffer( );
	protected StringBuffer styleBuffer = new StringBuffer( );
	protected Element deferStrokColor = null;
	protected String primitiveId = null;
	private RenderingHints renderingHints = new RenderingHints( null );