Bug 168837 The gradient with transparent color does not work [0001]
Description: The background gradient color does not work. Build number: 2.1.2.v20061221-0710 Steps to reproduce: 1. Preview the attached design file. Expected result: Background gradient color both work when preview and in Layout. Actual result: Background gradient color does not work when preview but work in Layout. Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
currentElement.setAttribute( "y", Double.toString( arg2 ) ); 
		currentElement.setAttribute( "width", Double.toString( arg3 ) ); 
		currentElement.setAttribute( "height", Double.toString( arg4 ) ); 
		currentElement.setAttribute( "fill", serializeToString( arg9 ) ); 
		if ( clip != null )
			currentElement.setAttribute( "clip-path", "url(#clip" + clip.hashCode( ) + ")" ); 
		appendChild( currentElement );
		return true;
	}
	/**
	 * Unload any resources associated with the graphic context
	 */
	public void flush(){
		codeScript.appendChild( dom.createCDATASection( EventHandlers.content.append(scriptBuffer).toString( ) ) );
		styles.appendChild( dom.createCDATASection( EventHandlers.styles.append(styleBuffer).toString( ) ) );
		
		scriptBuffer = new StringBuffer();
		styleBuffer = new StringBuffer();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.awt.Graphics#dispose()
	 */
	public void dispose( )
	{
		paints.clear( );
	}
	/**
	 * @return Returns the background.