Bug 158102 [Regression]Html visibility effects seems to take no effects to all items
Html visibility effects seems to take no effects to all items Steps to reproduce: 1.new a report 2.add report items and set html visibility to them Expected result: Html visibility should take effects Actual result: No effects were displayed to all items
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
DimensionType top = createDimension( handle.getTopMargin( ) );
		DimensionType left = createDimension( handle.getLeftMargin( ) );
		DimensionType bottom = createDimension( handle.getBottomMargin( ) );
		DimensionType right = createDimension( handle.getRightMargin( ) );
		page.setMargin( top, left, bottom, right );
	}
	protected void visitDesignElement( DesignElementHandle obj )
	{
		
		currentElement = null;
	}
	public void visitGraphicMasterPage( GraphicMasterPageHandle handle )
	{
		GraphicMasterPageDesign page = new GraphicMasterPageDesign( );
		setupMasterPage( page, handle );
		
		page.setColumns( handle.getColumnCount( ) );
		DimensionType spacing = createDimension( handle.getColumnSpacing( ) );
		page.setColumnSpacing( spacing );
		
		SlotHandle contentSlot = handle.getContent( );
		for ( int i = 0; i < contentSlot.getCount( ); i++ )
		{
			apply( contentSlot.get( i ) );
			if ( currentElement != null )
			{
				page.addContent( (ReportItemDesign) currentElement );
			}
		}