/src/main/java/org/htmlunit/html/HtmlImage.java
if ( browserVersion.hasFeature( JS_IMAGE_WIDTH_HEIGHT_RETURNS_28x30_28x30) ) {   return 30; }
[Delete]
} final WebClient webClient = getPage().getWebClient(); final BrowserVersion browserVersion = webClient.getBrowserVersion(); if (browserVersion.hasFeature(JS_IMAGE_WIDTH_HEIGHT_EMPTY_SOURCE_RETURNS_0x0) && StringUtils.isEmpty(src)) { return 0; } <extra_id_0> return 0; } try { return getWidth(); } catch (final IOException e) {