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