222
schangxiang@126.com
2025-08-23 5c34786133c2f8c186c56c95bc12ea14f2f3a0d0
1
2
3
4
5
6
7
8
9
10
11
12
13
define([
    "../../core",
    "../../selector"
    // css is assumed
], function( jQuery ) {
 
    return function( elem, el ) {
        // isHidden might be called from jQuery#filter function;
        // in that case, element will be second argument
        elem = el || elem;
        return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
    };
});