/src/main/java/org/htmlunit/html/HtmlImage.java
final org.htmlunit.BrowserVersion browserVersion = getPage().getWebClient().getBrowserVersion(); if(browserVersion.hasFeature(org.htmlunit.BrowserVersionFeatures.JS_IMAGE_WIDTH_HEIGHT_RETURNS_28x30_28x30)) {  return 28;}; if((browserVersion.hasFeature(org.htmlunit.BrowserVersionFeatures.JS_IMAGE_WIDTH_HEIGHT_RETURNS_16x16_0x0)) ||(browserVersion.hasFeature(org.htmlunit.BrowserVersionFeatures.JS_IMAGE_WIDTH_HEIGHT_RETURNS_24x24_0x0))) {  return 0;}; return 24;
if ( ATTRIBUTE_NOT_DEFINED == src ) { final BrowserVersion browserVersion = getPage ( ) .getWebClient ( ) .getBrowserVersion ( ) ; if ( browserVersion.hasFeature ( JS_IMAGE_WIDTH_HEIGHT_RETURNS_28x30_28x30 ) ) { return 28; }
return Integer.parseInt(widthAttrib); } catch (final NumberFormatException e) { } } final String src = getSrcAttribute(); <extra_id_0> } if (browserVersion.hasFeature(JS_IMAGE_WIDTH_HEIGHT_RETURNS_16x16_0x0) || browserVersion.hasFeature(JS_IMAGE_WIDTH_HEIGHT_RETURNS_24x24_0x0)) { return 0; } return 24;