(elem, el)
| 49 | } |
| 50 | |
| 51 | function isHidden(elem, el) { |
| 52 | // isHidden might be called from jQuery#filter function; |
| 53 | // in that case, element will be second argument |
| 54 | elem = el || elem; |
| 55 | return jQuery.css(elem, "display") === "none" || !jQuery.contains(elem.ownerDocument, elem); |
| 56 | } |
| 57 | |
| 58 | // NOTE: we've included the "window" in window.getComputedStyle |
| 59 | // because jsdom on node.js will break without it. |
no outgoing calls
no test coverage detected