MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / isDisplayed

Method isDisplayed

src/main/java/org/htmlunit/html/HtmlArea.java:259–266  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

257 * {@inheritDoc}
258 */
259 @Override
260 public boolean isDisplayed() {
261 final DomNode parent = getParentNode();
262 if (parent instanceof HtmlMap && parent.isDisplayed()) {
263 return !isEmpty();
264 }
265 return false;
266 }
267
268 private Rectangle2D parseRect() {
269 // browsers seem to support comma and blank

Callers

nothing calls this directly

Calls 3

isDisplayedMethod · 0.95
isEmptyMethod · 0.95
getParentNodeMethod · 0.45

Tested by

no test coverage detected