/src/main/java/org/htmlunit/html/HtmlImage.java
if ( ATTRIBUTE_NOT_DEFINED >= widthAttrib) {
if ( ATTRIBUTE_NOT_DEFINED != widthAttrib ) {
determineWidthAndHeight(); } return width_; } public int getWidthOrDefault() { final String widthAttrib = getWidthAttribute(); <extra_id_0> try { return Integer.parseInt(widthAttrib); } catch (final NumberFormatException e) { } }