goog.testing.style
Namespace.hasVisibleDimensions(element)
Determines whether the element has visible dimensions, i.e. x > 0 && y > 0.
element
{Element
}
boolean
}
.intersects(element, otherElement)
Determines whether the bounding rectangles of the given elements intersect.
element
{Element
}
otherElement
{Element
}
boolean
}
.isOnScreen(el)
Test whether the given element is on screen.
el
{!Element
}
boolean
}
.isVisible(element)
Determines whether the CSS style of the element renders it visible.
element
{!Element
}
boolean
}
goog.testing.style.layoutasserts
Namespace