/src/main/java/org/htmlunit/html/HtmlImage.java
if ( ( browserVersion.hasFeature( JS_IMAGE_WIDTH_HEIGHT_EMPTY_SOURCE_RETURNS_0x0) ) && ( isEmpty( src) ) ) {   return 0; }
[Delete]
public boolean isDisplayed() { final String src = getSrcAttribute(); if (hasFeature(HTMLIMAGE_INVISIBLE_NO_SRC)) { if (ATTRIBUTE_NOT_DEFINED == src) { return false; } <extra_id_0> return false; } if (hasFeature(HTMLIMAGE_EMPTY_SRC_DISPLAY_FALSE) && StringUtils.isEmpty(src)) { return false; } }