

										if ( style ) {
											// Get the width from the style.
											match = ( /(?:^|\s)width\s*:\s*(\d+)px/i ).exec( style );
											width = match && match[1];

											// Get the height from the style.
											match = ( /(?:^|\s)height\s*:\s*(\d+)px/i ).exec( style );
											height = match && match[1];

											if ( width ) {
												element.attributes.style = element.attributes.style.replace( /(?:^|\s)width\s*:\s*(\d+)px;?/i , '' );
												element.attributes.width =