Bug 148771 Bottom margin is invalid in PDF & HTML
Details: Bottom margin is invalid Step: 1.New a label. 2.New a data item. 3.New a label again. 4.Set bottom margin as -20 point Actual result: See the attach image
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/area/impl/AbstractArea.java
.getProperty( StyleConstants.STYLE_MARGIN_LEFT ) );
	}
	/**
	 * set allocated Y position
	 * 
	 * @return
	 */
	public int getAllocatedY( )
	{
		return y
				- PropertyUtil.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_MARGIN_TOP ) );
	}
	/**
	 * get content width
	 * 
	 * @return
	 */
	public int getContentWidth( )
	{
		int totalPaddngWidth = PropertyUtil.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_PADDING_LEFT ) )
				+ PropertyUtil.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_PADDING_RIGHT ) );
		int totalBorderWidth = PropertyUtil.getDimensionValue( style
						.getProperty( StyleConstants.STYLE_BORDER_LEFT_WIDTH ) )
				+ PropertyUtil
						.getDimensionValue( style
								.getProperty( StyleConstants.STYLE_BORDER_RIGHT_WIDTH ) );
		if( width <= totalPaddngWidth )