root.setAllocatedWidth( max );
root.setAllocatedWidth( maxW );
	protected void newContext( )	{		createRoot( );		// validateBoxProperty( root.getStyle( ) );		if ( null != parent )		{			// support user defined width			int max = parent.getMaxAvaWidth( ) - parent.getCurrentIP( );			if ( content != null )			{				int specifiedWidth = getDimensionValue( content.getWidth( ) );				if ( specifiedWidth > 0 )				{					max = Math.min( max, specifiedWidth );				}			}			root.setAllocatedWidth( max );			setMaxAvaWidth( root.getContentWidth( ) );			root.setAllocatedHeight( parent.getMaxAvaHeight( )					- parent.getCurrentBP( ) );			setMaxAvaHeight( root.getContentHeight( ) );		}		// initialize offsetX and offsetY		IStyle areaStyle = root.getStyle( );		setOffsetX( getDimensionValue( areaStyle				.getProperty( StyleConstants.STYLE_BORDER_LEFT_WIDTH ) )				+ getDimensionValue( areaStyle						.getProperty( StyleConstants.STYLE_PADDING_LEFT ) ) );		setOffsetY( isFirst				? ( getDimensionValue( areaStyle						.getProperty( StyleConstants.STYLE_BORDER_TOP_WIDTH ) ) + getDimensionValue( areaStyle						.getProperty( StyleConstants.STYLE_PADDING_TOP ) ) )				: 0 );		// can be removed?		setCurrentBP( 0 );		setCurrentIP( 0 );	}