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
transforms = new AffineTransform( );
		initializeScriptStyles( );
	}
	public void pushParent( Element parent )
	{
		appendChild( parent );
		parentStack.push( parent );
		currentParent = parent;
	}
	public Element popParent( )
	{
		Element popElement = null;
		if ( !parentStack.isEmpty( ) )
			popElement = parentStack.pop( );
		if ( !parentStack.isEmpty( ) )
			currentParent = parentStack.peek( );
		return popElement;
	}
	protected void appendChild( Element child )
	{
		currentParent.appendChild( child );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.awt.Graphics2D#draw(java.awt.Shape)
	 */
	public void draw( Shape shape )
	{
		currentElement = createGeneralPath( shape );